diff --git a/docs/dyn/accesscontextmanager_v1.accessPolicies.accessLevels.html b/docs/dyn/accesscontextmanager_v1.accessPolicies.accessLevels.html index e266474012..676d4d71a8 100644 --- a/docs/dyn/accesscontextmanager_v1.accessPolicies.accessLevels.html +++ b/docs/dyn/accesscontextmanager_v1.accessPolicies.accessLevels.html @@ -97,7 +97,7 @@

Instance Methods

Updates an access level. The long-running operation from this RPC has a successful status after the changes to the access level propagate to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered.

replaceAll(parent, body=None, x__xgafv=None)

-

Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error.

+

Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The `Operation.response` field contains `ReplaceAccessLevelsResponse`. Removing access levels contained in existing service perimeters results in an error.

testIamPermissions(resource, body=None, x__xgafv=None)

Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses.

@@ -118,45 +118,45 @@

Method Details

{ # An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied. "basic": { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`. - "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. + "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. "conditions": [ # Required. A list of requirements for the `AccessLevel` to be granted. - { # A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. - "devicePolicy": { # `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. - "allowedDeviceManagementLevels": [ # Allowed device management levels, an empty list allows all management levels. + { # A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`. + "devicePolicy": { # `DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. + "allowedDeviceManagementLevels": [ # Allowed device management levels. An empty list allows all management levels. "A String", ], - "allowedEncryptionStatuses": [ # Allowed encryptions statuses, an empty list allows all statuses. + "allowedEncryptionStatuses": [ # Allowed encryption statuses. An empty list allows all statuses. "A String", ], - "osConstraints": [ # Allowed OS versions, an empty list allows all types and all versions. + "osConstraints": [ # Allowed OS versions. An empty list allows all types and all versions. { # A restriction on the OS type and version of devices making requests. "minimumVersion": "A String", # The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. "osType": "A String", # Required. The allowed OS type. - "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. + "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. }, ], "requireAdminApproval": True or False, # Whether the device needs to be approved by the customer admin. - "requireCorpOwned": True or False, # Whether the device needs to be corp owned. - "requireScreenlock": True or False, # Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. + "requireCorpOwned": True or False, # Whether the device needs to be corp-owned. + "requireScreenlock": True or False, # Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. }, - "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed. + "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed. "A String", ], "members": [ # The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. "A String", ], - "negate": True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false. + "negate": True or False, # Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. "regions": [ # The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. "A String", ], - "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` "A String", ], "vpcNetworkSources": [ # The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. { # The originating network source in Google Cloud. - "vpcSubnetwork": { # Sub-segment ranges inside of a VPC Network. # Sub-segment ranges of a VPC network. + "vpcSubnetwork": { # Sub-segment ranges inside of a VPC network. # Sub-segment ranges of a VPC network. "network": "A String", # Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` - "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP addresses are allowed. + "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. "A String", ], }, @@ -175,7 +175,7 @@

Method Details

}, "description": "A String", # Description of the `AccessLevel` and its use. Does not affect behavior. "name": "A String", # Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. - "title": "A String", # Human readable title. Must be unique within the Policy. + "title": "A String", # Human-readable title. Must be unique within the policy. } x__xgafv: string, V1 error format. @@ -248,11 +248,11 @@

Method Details

Args: name: string, Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` (required) - accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent `CustomLevels`. + accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to `AS_DEFINED`, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to `CEL`, all Access Levels are returned as `CustomLevels`. In the `CEL` case, `BasicLevels` are translated to equivalent `CustomLevels`. Allowed values LEVEL_FORMAT_UNSPECIFIED - The format was not specified. - AS_DEFINED - Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels. - CEL - Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels. + AS_DEFINED - Uses the format the resource was defined in. `BasicLevels` are returned as `BasicLevels`, and `CustomLevels` are returned as `CustomLevels`. + CEL - Uses Cloud Common Expression Language when returning the resource. Both `BasicLevels` and `CustomLevels` are returned as `CustomLevels`. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -263,45 +263,45 @@

Method Details

{ # An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied. "basic": { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`. - "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. + "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. "conditions": [ # Required. A list of requirements for the `AccessLevel` to be granted. - { # A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. - "devicePolicy": { # `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. - "allowedDeviceManagementLevels": [ # Allowed device management levels, an empty list allows all management levels. + { # A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`. + "devicePolicy": { # `DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. + "allowedDeviceManagementLevels": [ # Allowed device management levels. An empty list allows all management levels. "A String", ], - "allowedEncryptionStatuses": [ # Allowed encryptions statuses, an empty list allows all statuses. + "allowedEncryptionStatuses": [ # Allowed encryption statuses. An empty list allows all statuses. "A String", ], - "osConstraints": [ # Allowed OS versions, an empty list allows all types and all versions. + "osConstraints": [ # Allowed OS versions. An empty list allows all types and all versions. { # A restriction on the OS type and version of devices making requests. "minimumVersion": "A String", # The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. "osType": "A String", # Required. The allowed OS type. - "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. + "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. }, ], "requireAdminApproval": True or False, # Whether the device needs to be approved by the customer admin. - "requireCorpOwned": True or False, # Whether the device needs to be corp owned. - "requireScreenlock": True or False, # Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. + "requireCorpOwned": True or False, # Whether the device needs to be corp-owned. + "requireScreenlock": True or False, # Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. }, - "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed. + "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed. "A String", ], "members": [ # The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. "A String", ], - "negate": True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false. + "negate": True or False, # Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. "regions": [ # The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. "A String", ], - "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` "A String", ], "vpcNetworkSources": [ # The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. { # The originating network source in Google Cloud. - "vpcSubnetwork": { # Sub-segment ranges inside of a VPC Network. # Sub-segment ranges of a VPC network. + "vpcSubnetwork": { # Sub-segment ranges inside of a VPC network. # Sub-segment ranges of a VPC network. "network": "A String", # Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` - "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP addresses are allowed. + "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. "A String", ], }, @@ -320,7 +320,7 @@

Method Details

}, "description": "A String", # Description of the `AccessLevel` and its use. Does not affect behavior. "name": "A String", # Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. - "title": "A String", # Human readable title. Must be unique within the Policy. + "title": "A String", # Human-readable title. Must be unique within the policy. } @@ -330,11 +330,11 @@

Method Details

Args: parent: string, Required. Resource name for the access policy to list Access Levels from. Format: `accessPolicies/{policy_id}` (required) - accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined. + accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression Language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined. Allowed values LEVEL_FORMAT_UNSPECIFIED - The format was not specified. - AS_DEFINED - Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels. - CEL - Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels. + AS_DEFINED - Uses the format the resource was defined in. `BasicLevels` are returned as `BasicLevels`, and `CustomLevels` are returned as `CustomLevels`. + CEL - Uses Cloud Common Expression Language when returning the resource. Both `BasicLevels` and `CustomLevels` are returned as `CustomLevels`. pageSize: integer, Number of Access Levels to include in the list. Default 100. pageToken: string, Next page token for the next batch of Access Level instances. Defaults to the first page of results. x__xgafv: string, V1 error format. @@ -349,45 +349,45 @@

Method Details

"accessLevels": [ # List of the Access Level instances. { # An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied. "basic": { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`. - "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. + "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. "conditions": [ # Required. A list of requirements for the `AccessLevel` to be granted. - { # A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. - "devicePolicy": { # `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. - "allowedDeviceManagementLevels": [ # Allowed device management levels, an empty list allows all management levels. + { # A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`. + "devicePolicy": { # `DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. + "allowedDeviceManagementLevels": [ # Allowed device management levels. An empty list allows all management levels. "A String", ], - "allowedEncryptionStatuses": [ # Allowed encryptions statuses, an empty list allows all statuses. + "allowedEncryptionStatuses": [ # Allowed encryption statuses. An empty list allows all statuses. "A String", ], - "osConstraints": [ # Allowed OS versions, an empty list allows all types and all versions. + "osConstraints": [ # Allowed OS versions. An empty list allows all types and all versions. { # A restriction on the OS type and version of devices making requests. "minimumVersion": "A String", # The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. "osType": "A String", # Required. The allowed OS type. - "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. + "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. }, ], "requireAdminApproval": True or False, # Whether the device needs to be approved by the customer admin. - "requireCorpOwned": True or False, # Whether the device needs to be corp owned. - "requireScreenlock": True or False, # Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. + "requireCorpOwned": True or False, # Whether the device needs to be corp-owned. + "requireScreenlock": True or False, # Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. }, - "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed. + "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed. "A String", ], "members": [ # The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. "A String", ], - "negate": True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false. + "negate": True or False, # Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. "regions": [ # The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. "A String", ], - "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` "A String", ], "vpcNetworkSources": [ # The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. { # The originating network source in Google Cloud. - "vpcSubnetwork": { # Sub-segment ranges inside of a VPC Network. # Sub-segment ranges of a VPC network. + "vpcSubnetwork": { # Sub-segment ranges inside of a VPC network. # Sub-segment ranges of a VPC network. "network": "A String", # Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` - "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP addresses are allowed. + "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. "A String", ], }, @@ -406,7 +406,7 @@

Method Details

}, "description": "A String", # Description of the `AccessLevel` and its use. Does not affect behavior. "name": "A String", # Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. - "title": "A String", # Human readable title. Must be unique within the Policy. + "title": "A String", # Human-readable title. Must be unique within the policy. }, ], "nextPageToken": "A String", # The pagination token to retrieve the next page of results. If the value is empty, no further results remain. @@ -438,45 +438,45 @@

Method Details

{ # An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied. "basic": { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`. - "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. + "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. "conditions": [ # Required. A list of requirements for the `AccessLevel` to be granted. - { # A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. - "devicePolicy": { # `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. - "allowedDeviceManagementLevels": [ # Allowed device management levels, an empty list allows all management levels. + { # A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`. + "devicePolicy": { # `DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. + "allowedDeviceManagementLevels": [ # Allowed device management levels. An empty list allows all management levels. "A String", ], - "allowedEncryptionStatuses": [ # Allowed encryptions statuses, an empty list allows all statuses. + "allowedEncryptionStatuses": [ # Allowed encryption statuses. An empty list allows all statuses. "A String", ], - "osConstraints": [ # Allowed OS versions, an empty list allows all types and all versions. + "osConstraints": [ # Allowed OS versions. An empty list allows all types and all versions. { # A restriction on the OS type and version of devices making requests. "minimumVersion": "A String", # The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. "osType": "A String", # Required. The allowed OS type. - "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. + "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. }, ], "requireAdminApproval": True or False, # Whether the device needs to be approved by the customer admin. - "requireCorpOwned": True or False, # Whether the device needs to be corp owned. - "requireScreenlock": True or False, # Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. + "requireCorpOwned": True or False, # Whether the device needs to be corp-owned. + "requireScreenlock": True or False, # Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. }, - "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed. + "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed. "A String", ], "members": [ # The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. "A String", ], - "negate": True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false. + "negate": True or False, # Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. "regions": [ # The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. "A String", ], - "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` "A String", ], "vpcNetworkSources": [ # The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. { # The originating network source in Google Cloud. - "vpcSubnetwork": { # Sub-segment ranges inside of a VPC Network. # Sub-segment ranges of a VPC network. + "vpcSubnetwork": { # Sub-segment ranges inside of a VPC network. # Sub-segment ranges of a VPC network. "network": "A String", # Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` - "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP addresses are allowed. + "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. "A String", ], }, @@ -495,7 +495,7 @@

Method Details

}, "description": "A String", # Description of the `AccessLevel` and its use. Does not affect behavior. "name": "A String", # Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. - "title": "A String", # Human readable title. Must be unique within the Policy. + "title": "A String", # Human-readable title. Must be unique within the policy. } updateMask: string, Required. Mask to control which fields get updated. Must be non-empty. @@ -530,7 +530,7 @@

Method Details

replaceAll(parent, body=None, x__xgafv=None) -
Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error.
+  
Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The `Operation.response` field contains `ReplaceAccessLevelsResponse`. Removing access levels contained in existing service perimeters results in an error.
 
 Args:
   parent: string, Required. Resource name for the access policy which owns these Access Levels. Format: `accessPolicies/{policy_id}` (required)
@@ -541,45 +541,45 @@ 

Method Details

"accessLevels": [ # Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. { # An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied. "basic": { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`. - "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. + "combiningFunction": "A String", # How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`. "conditions": [ # Required. A list of requirements for the `AccessLevel` to be granted. - { # A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. - "devicePolicy": { # `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. - "allowedDeviceManagementLevels": [ # Allowed device management levels, an empty list allows all management levels. + { # A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`. + "devicePolicy": { # `DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. # Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed. + "allowedDeviceManagementLevels": [ # Allowed device management levels. An empty list allows all management levels. "A String", ], - "allowedEncryptionStatuses": [ # Allowed encryptions statuses, an empty list allows all statuses. + "allowedEncryptionStatuses": [ # Allowed encryption statuses. An empty list allows all statuses. "A String", ], - "osConstraints": [ # Allowed OS versions, an empty list allows all types and all versions. + "osConstraints": [ # Allowed OS versions. An empty list allows all types and all versions. { # A restriction on the OS type and version of devices making requests. "minimumVersion": "A String", # The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. "osType": "A String", # Required. The allowed OS type. - "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request. + "requireVerifiedChromeOs": True or False, # Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request. }, ], "requireAdminApproval": True or False, # Whether the device needs to be approved by the customer admin. - "requireCorpOwned": True or False, # Whether the device needs to be corp owned. - "requireScreenlock": True or False, # Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. + "requireCorpOwned": True or False, # Whether the device needs to be corp-owned. + "requireScreenlock": True or False, # Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`. }, - "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed. + "ipSubnetworks": [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/32"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed. "A String", ], "members": [ # The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user. "A String", ], - "negate": True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false. + "negate": True or False, # Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`. "regions": [ # The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. "A String", ], - "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + "requiredAccessLevels": [ # A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` "A String", ], "vpcNetworkSources": [ # The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`. { # The originating network source in Google Cloud. - "vpcSubnetwork": { # Sub-segment ranges inside of a VPC Network. # Sub-segment ranges of a VPC network. + "vpcSubnetwork": { # Sub-segment ranges inside of a VPC network. # Sub-segment ranges of a VPC network. "network": "A String", # Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1` - "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP addresses are allowed. + "vpcIpSubnetworks": [ # CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty, all IP addresses are allowed. "A String", ], }, @@ -598,7 +598,7 @@

Method Details

}, "description": "A String", # Description of the `AccessLevel` and its use. Does not affect behavior. "name": "A String", # Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`. - "title": "A String", # Human readable title. Must be unique within the Policy. + "title": "A String", # Human-readable title. Must be unique within the policy. }, ], "etag": "A String", # Optional. The etag for the version of the Access Policy that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not provided, the operation will be performed as if a valid etag is provided. diff --git a/docs/dyn/accesscontextmanager_v1.accessPolicies.authorizedOrgsDescs.html b/docs/dyn/accesscontextmanager_v1.accessPolicies.authorizedOrgsDescs.html index e866535e86..29a87087a7 100644 --- a/docs/dyn/accesscontextmanager_v1.accessPolicies.authorizedOrgsDescs.html +++ b/docs/dyn/accesscontextmanager_v1.accessPolicies.authorizedOrgsDescs.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

-

Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.

+

Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.

delete(name, x__xgafv=None)

Deletes an authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage.

@@ -94,7 +94,7 @@

Instance Methods

Retrieves the next page of results.

patch(name, body=None, updateMask=None, x__xgafv=None)

-

Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type and authorization_direction cannot be updated.

+

Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The `name`, `authorization_type`, `asset_type`, and `authorization_direction` cannot be updated.

Method Details

close() @@ -103,7 +103,7 @@

Method Details

create(parent, body=None, x__xgafv=None) -
Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.
+  
Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.
 
 Args:
   parent: string, Required. Resource name for the access policy which owns this Authorized Orgs Desc. Format: `accessPolicies/{policy_id}` (required)
@@ -111,11 +111,11 @@ 

Method Details

The object takes the form of: { # `AuthorizedOrgsDesc` contains data for an organization's authorization policy. - "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. - "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. + "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`. + "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. "authorizationType": "A String", # A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. "name": "A String", # Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. - "orgs": [ # The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` + "orgs": [ # The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456` "A String", ], } @@ -154,7 +154,7 @@

Method Details

Deletes an authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage.
 
 Args:
-  name: string, Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}` (required)
+  name: string, Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}` (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -189,7 +189,7 @@ 

Method Details

Gets an authorized orgs desc based on the resource name.
 
 Args:
-  name: string, Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}` (required)
+  name: string, Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}` (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -199,11 +199,11 @@ 

Method Details

An object of the form: { # `AuthorizedOrgsDesc` contains data for an organization's authorization policy. - "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. - "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. + "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`. + "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. "authorizationType": "A String", # A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. "name": "A String", # Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. - "orgs": [ # The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` + "orgs": [ # The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456` "A String", ], }
@@ -228,11 +228,11 @@

Method Details

{ # A response to `ListAuthorizedOrgsDescsRequest`. "authorizedOrgsDescs": [ # List of all the Authorized Orgs Desc instances. { # `AuthorizedOrgsDesc` contains data for an organization's authorization policy. - "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. - "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. + "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`. + "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. "authorizationType": "A String", # A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. "name": "A String", # Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. - "orgs": [ # The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` + "orgs": [ # The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456` "A String", ], }, @@ -257,7 +257,7 @@

Method Details

patch(name, body=None, updateMask=None, x__xgafv=None) -
Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type and authorization_direction cannot be updated.
+  
Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The `name`, `authorization_type`, `asset_type`, and `authorization_direction` cannot be updated.
 
 Args:
   name: string, Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. (required)
@@ -265,11 +265,11 @@ 

Method Details

The object takes the form of: { # `AuthorizedOrgsDesc` contains data for an organization's authorization policy. - "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. - "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. + "assetType": "A String", # The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`. + "authorizationDirection": "A String", # The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. "authorizationType": "A String", # A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. "name": "A String", # Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`. - "orgs": [ # The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` + "orgs": [ # The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456` "A String", ], } diff --git a/docs/dyn/accesscontextmanager_v1.accessPolicies.html b/docs/dyn/accesscontextmanager_v1.accessPolicies.html index 7083960c9e..431c4de720 100644 --- a/docs/dyn/accesscontextmanager_v1.accessPolicies.html +++ b/docs/dyn/accesscontextmanager_v1.accessPolicies.html @@ -134,13 +134,13 @@

Method Details

The object takes the form of: { # `AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. - "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. + "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. "name": "A String", # Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` "parent": "A String", # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}` - "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` + "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` "A String", ], - "title": "A String", # Required. Human readable title. Does not affect behavior. + "title": "A String", # Required. Human-readable title. Does not affect behavior. } x__xgafv: string, V1 error format. @@ -177,7 +177,7 @@

Method Details

Deletes an access policy based on the resource name. The long-running operation has a successful status after the access policy is removed from long-lasting storage.
 
 Args:
-  name: string, Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}` (required)
+  name: string, Required. Resource name for the access policy to delete. Format: `accessPolicies/{policy_id}` (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -212,7 +212,7 @@ 

Method Details

Returns an access policy based on the name.
 
 Args:
-  name: string, Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}` (required)
+  name: string, Required. Resource name for the access policy to get. Format: `accessPolicies/{policy_id}` (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -222,13 +222,13 @@ 

Method Details

An object of the form: { # `AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. - "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. + "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. "name": "A String", # Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` "parent": "A String", # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}` - "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` + "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` "A String", ], - "title": "A String", # Required. Human readable title. Does not affect behavior. + "title": "A String", # Required. Human-readable title. Does not affect behavior. }
@@ -307,13 +307,13 @@

Method Details

{ # A response to `ListAccessPoliciesRequest`. "accessPolicies": [ # List of the AccessPolicy instances. { # `AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. - "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. + "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. "name": "A String", # Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` "parent": "A String", # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}` - "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` + "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` "A String", ], - "title": "A String", # Required. Human readable title. Does not affect behavior. + "title": "A String", # Required. Human-readable title. Does not affect behavior. }, ], "nextPageToken": "A String", # The pagination token to retrieve the next page of results. If the value is empty, no further results remain. @@ -344,13 +344,13 @@

Method Details

The object takes the form of: { # `AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. - "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. + "etag": "A String", # Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. "name": "A String", # Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` "parent": "A String", # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}` - "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` + "scopes": [ # The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}` "A String", ], - "title": "A String", # Required. Human readable title. Does not affect behavior. + "title": "A String", # Required. Human-readable title. Does not affect behavior. } updateMask: string, Required. Mask to control which fields get updated. Must be non-empty. diff --git a/docs/dyn/accesscontextmanager_v1.accessPolicies.servicePerimeters.html b/docs/dyn/accesscontextmanager_v1.accessPolicies.servicePerimeters.html index 3e98a99eff..1e5d5aa987 100644 --- a/docs/dyn/accesscontextmanager_v1.accessPolicies.servicePerimeters.html +++ b/docs/dyn/accesscontextmanager_v1.accessPolicies.servicePerimeters.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

commit(parent, body=None, x__xgafv=None)

-

Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation.

+

Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the `Operation.response` field contains `CommitServicePerimetersResponse`. The `dry_run` and the `spec` fields are cleared after a successful commit operation.

create(parent, body=None, x__xgafv=None)

Creates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered.

@@ -100,7 +100,7 @@

Instance Methods

Updates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered.

replaceAll(parent, body=None, x__xgafv=None)

-

Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.

+

Replaces all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The `Operation.response` field contains `ReplaceServicePerimetersResponse`.

testIamPermissions(resource, body=None, x__xgafv=None)

Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not support other resources. **IAM Permissions**: No specific IAM permission is required to call this method. It returns the subset of the requested permissions that the caller possesses.

@@ -112,7 +112,7 @@

Method Details

commit(parent, body=None, x__xgafv=None) -
Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation.
+  
Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the `Operation.response` field contains `CommitServicePerimetersResponse`. The `dry_run` and the `spec` fields are cleared after a successful commit operation.
 
 Args:
   parent: string, Required. Resource name for the parent Access Policy which owns all Service Perimeters in scope for the commit operation. Format: `accessPolicies/{policy_id}` (required)
@@ -165,31 +165,31 @@ 

Method Details

"description": "A String", # Description of the `ServicePerimeter` and its use. Does not affect behavior. "etag": "A String", # Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. "name": "A String", # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. - "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. - "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. + "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. + "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -203,14 +203,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -222,7 +222,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -242,14 +242,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -269,43 +269,43 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, - "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. + "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -319,14 +319,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -338,7 +338,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -358,14 +358,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -385,21 +385,21 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, "title": "A String", # Human readable title. Must be unique within the Policy. - "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. + "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. } x__xgafv: string, V1 error format. @@ -471,7 +471,7 @@

Method Details

Gets a service perimeter based on the resource name.
 
 Args:
-  name: string, Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}` (required)
+  name: string, Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` (required)
   deletedPrincipalSyntax: string, Optional. If true, the response will contain the deleted principal syntax for identities that support it.
     Allowed values
       DELETED_PRINCIPAL_SYNTAX_SUPPORT_UNSPECIFIED - Deleted principal syntax support was not specified.
@@ -489,31 +489,31 @@ 

Method Details

"description": "A String", # Description of the `ServicePerimeter` and its use. Does not affect behavior. "etag": "A String", # Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. "name": "A String", # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. - "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. - "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. + "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. + "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -527,14 +527,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -546,7 +546,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -566,14 +566,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -593,43 +593,43 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, - "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. + "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -643,14 +643,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -662,7 +662,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -682,14 +682,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -709,21 +709,21 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, "title": "A String", # Human readable title. Must be unique within the Policy. - "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. + "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. }
@@ -755,31 +755,31 @@

Method Details

"description": "A String", # Description of the `ServicePerimeter` and its use. Does not affect behavior. "etag": "A String", # Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. "name": "A String", # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. - "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. - "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. + "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. + "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -793,14 +793,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -812,7 +812,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -832,14 +832,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -859,43 +859,43 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, - "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. + "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -909,14 +909,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -928,7 +928,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -948,14 +948,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -975,21 +975,21 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, "title": "A String", # Human readable title. Must be unique within the Policy. - "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. + "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. }, ], }
@@ -1022,31 +1022,31 @@

Method Details

"description": "A String", # Description of the `ServicePerimeter` and its use. Does not affect behavior. "etag": "A String", # Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. "name": "A String", # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. - "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. - "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. + "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. + "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -1060,14 +1060,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -1079,7 +1079,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -1099,14 +1099,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -1126,43 +1126,43 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, - "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. + "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -1176,14 +1176,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -1195,7 +1195,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -1215,14 +1215,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -1242,21 +1242,21 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, "title": "A String", # Human readable title. Must be unique within the Policy. - "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. + "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. } deletedPrincipalSyntax: string, Optional. If true, the response will contain the deleted principal syntax for identities that support it and the request can contain identities with deleted principal syntax. @@ -1296,7 +1296,7 @@

Method Details

replaceAll(parent, body=None, x__xgafv=None) -
Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.
+  
Replaces all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The `Operation.response` field contains `ReplaceServicePerimetersResponse`.
 
 Args:
   parent: string, Required. Resource name for the access policy which owns these Service Perimeters. Format: `accessPolicies/{policy_id}` (required)
@@ -1310,31 +1310,31 @@ 

Method Details

"description": "A String", # Description of the `ServicePerimeter` and its use. Does not affect behavior. "etag": "A String", # Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided. "name": "A String", # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`. - "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. - "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. + "perimeterType": "A String", # Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. + "spec": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -1348,14 +1348,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -1367,7 +1367,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -1387,14 +1387,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -1414,43 +1414,43 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, - "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. + "status": { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. # Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries. "accessLevels": [ # A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. "A String", ], "egressPolicies": [ # List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. - { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. - "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. + { # Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. + "egressFrom": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. # Defines conditions on the source of a request causing this EgressPolicy to apply. "identities": [ # A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. "A String", ], "identityType": "A String", # Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. - "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. + "sourceRestriction": "A String", # Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`. "sources": [ # Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. { # The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries. "accessLevel": "A String", # An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, - "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources. + "resource": "A String", # A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources. }, ], }, "egressTo": { # Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. # Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. - "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. + "externalResources": [ # A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed. "A String", ], "operations": [ # A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. @@ -1464,14 +1464,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter. "A String", ], - "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter. + "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "ingressPolicies": [ # List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. @@ -1483,7 +1483,7 @@

Method Details

"identityType": "A String", # Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. "sources": [ # Sources that this IngressPolicy authorizes access from. { # The source that IngressPolicy authorizes access from. - "accessLevel": "A String", # An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. + "accessLevel": "A String", # An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. "pscEndpoint": { # Specifies the Private Service Connect endpoint that an API call refers to. # A PrivateServiceConnectEndpoint that is allowed to access the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in. "forwardingRule": "A String", # The full resource name of the global forwarding rule that identifies a Private Service Connect endpoint. Forwarding rule format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/forwardingRules/{FORWARDING_RULE_ID}`. }, @@ -1503,14 +1503,14 @@

Method Details

"serviceName": "A String", # The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services. }, ], - "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed. + "resources": [ # A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed. "A String", ], "roles": [ # IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter. "A String", ], }, - "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. + "title": "A String", # Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters. }, ], "resources": [ # A list of Google Cloud resources that are inside of the service perimeter. Currently projects, folders, and VPCs are allowed. Project format: `projects/{project_number}` Folder format: `folders/{folder_id}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. @@ -1530,21 +1530,21 @@

Method Details

}, }, ], - "pattern": "A String", # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.com//*" and "*.appspot.com/* forms are supported, where should be an alphanumeric name. + "pattern": "A String", # URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an alphanumeric name. "service": "A String", # Supported service to allow. }, ], - "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. + "allowedServices": [ # The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter. "A String", ], - "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. + "enableRestriction": True or False, # Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`. "servicePatternsEnforcementScopes": [ # Defines the enforcement scopes of service patterns. "A String", ], }, }, "title": "A String", # Human readable title. Must be unique within the Policy. - "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. + "useExplicitDryRunSpec": True or False, # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values. }, ], } diff --git a/docs/dyn/accesscontextmanager_v1.folders.html b/docs/dyn/accesscontextmanager_v1.folders.html index a2174e48ae..eb12836aa4 100644 --- a/docs/dyn/accesscontextmanager_v1.folders.html +++ b/docs/dyn/accesscontextmanager_v1.folders.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

lookupConfiguredServicePerimeter(resource, x__xgafv=None)

-

Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].

+

Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.

Method Details

close() @@ -88,10 +88,10 @@

Method Details

lookupConfiguredServicePerimeter(resource, x__xgafv=None) -
Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].
+  
Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.
 
 Args:
-  resource: string, Required. The Resource to resolve (e.g. "projects/123", "folders/456"). (required)
+  resource: string, Required. The resource to resolve (for example, `projects/123` or `folders/456`). (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -101,8 +101,8 @@ 

Method Details

An object of the form: { # A configured service perimeter returned by Access Context Manager. - "restrictedResource": "A String", # The resource (e.g. "projects/123", "folders/456") that directly owns/is restricted by the enforced perimeter. - "restrictedResourceDryRun": "A String", # The resource (e.g. "projects/123", "folders/456") that directly owns/is restricted by the dry-run perimeter. + "restrictedResource": "A String", # The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the enforced perimeter. + "restrictedResourceDryRun": "A String", # The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the dry-run perimeter. "servicePerimeter": "A String", # Fully qualified name of the configured enforced perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` This field is empty if no enforced perimeter applies. "servicePerimeterDryRun": "A String", # Fully qualified name of the configured dry-run perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` This field is empty if no dry-run perimeter configuration applies. }
diff --git a/docs/dyn/accesscontextmanager_v1.organizations.gcpUserAccessBindings.html b/docs/dyn/accesscontextmanager_v1.organizations.gcpUserAccessBindings.html index b06067531f..91a02ad379 100644 --- a/docs/dyn/accesscontextmanager_v1.organizations.gcpUserAccessBindings.html +++ b/docs/dyn/accesscontextmanager_v1.organizations.gcpUserAccessBindings.html @@ -111,64 +111,64 @@

Method Details

The object takes the form of: { # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "dryRunAccessLevels": [ # Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunAccessLevels": [ # Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "groupKey": "A String", # Optional. Immutable. Google Group id whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht" - "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" + "groupKey": "A String", # Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `"01d520gv4vjcrht"` + "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"` "principal": { # The comprehensive identity container supporting identities including groups, service accounts, and federated identities. Only one of them can be set to create an access binding. # Optional. Immutable. The principal that is subject to the access policies in this policy binding. "federatedPrincipal": "A String", # Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: * Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` * All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` * All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` client scope and active `session_settings`. No other configurations are allowed. - "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement. + "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (for example, if there is a policy for all service accounts in a project and a policy for the service account), the closest (that is, the most specific) dry-run policy is used for the dry-run functionality and the closest enforcement policy is used for enforcement. "serviceAccountProjectNumber": "A String", # Immutable. Cloud project number used to assign policies to all service accounts owned by the project. }, "scopedAccessSettings": [ # Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. - { # A relationship between access settings and its scope. - "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + { # A relationship between access settings and their scope. + "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "scope": { # Access scope represents the client scope, etc. to which the settings will be applied to. # Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. - "clientScope": { # Client scope represents the application, etc. subject to this binding's restrictions. # Optional. Client scope for this access scope. + "scope": { # Access scope represents the client scope to which the settings are applied. # Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. + "clientScope": { # Client scope represents the application, project, or other resource subject to this binding's restrictions. # Optional. Client scope for this access scope. "restrictedClientApplication": { # An application that accesses Google Cloud APIs. # Optional. The application that is subject to this binding's scope. "clientId": "A String", # The OAuth client ID of the application. "name": "A String", # The name of the application. Example: "Cloud Console" }, - "restrictedProject": { # A Google Cloud project which contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. + "restrictedProject": { # A Google Cloud project that contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. "name": "A String", # The Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number is supported. Example: `projects/1234567890` }, }, }, }, ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, } @@ -251,64 +251,64 @@

Method Details

An object of the form: { # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "dryRunAccessLevels": [ # Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunAccessLevels": [ # Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "groupKey": "A String", # Optional. Immutable. Google Group id whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht" - "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" + "groupKey": "A String", # Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `"01d520gv4vjcrht"` + "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"` "principal": { # The comprehensive identity container supporting identities including groups, service accounts, and federated identities. Only one of them can be set to create an access binding. # Optional. Immutable. The principal that is subject to the access policies in this policy binding. "federatedPrincipal": "A String", # Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: * Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` * All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` * All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` client scope and active `session_settings`. No other configurations are allowed. - "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement. + "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (for example, if there is a policy for all service accounts in a project and a policy for the service account), the closest (that is, the most specific) dry-run policy is used for the dry-run functionality and the closest enforcement policy is used for enforcement. "serviceAccountProjectNumber": "A String", # Immutable. Cloud project number used to assign policies to all service accounts owned by the project. }, "scopedAccessSettings": [ # Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. - { # A relationship between access settings and its scope. - "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + { # A relationship between access settings and their scope. + "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "scope": { # Access scope represents the client scope, etc. to which the settings will be applied to. # Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. - "clientScope": { # Client scope represents the application, etc. subject to this binding's restrictions. # Optional. Client scope for this access scope. + "scope": { # Access scope represents the client scope to which the settings are applied. # Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. + "clientScope": { # Client scope represents the application, project, or other resource subject to this binding's restrictions. # Optional. Client scope for this access scope. "restrictedClientApplication": { # An application that accesses Google Cloud APIs. # Optional. The application that is subject to this binding's scope. "clientId": "A String", # The OAuth client ID of the application. "name": "A String", # The name of the application. Example: "Cloud Console" }, - "restrictedProject": { # A Google Cloud project which contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. + "restrictedProject": { # A Google Cloud project that contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. "name": "A String", # The Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number is supported. Example: `projects/1234567890` }, }, }, }, ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }
@@ -319,7 +319,7 @@

Method Details

Args: parent: string, Required. Example: "organizations/256" (required) - filter: string, Optional. The literal filter to apply to the results returned. See https://google.aip.dev/160 for more details. Accepts values: * `principal:group_key` * `principal:service_account` OR `principal:service_account_project_number`. If this field is empty or not one of the above, the default value is `"principal:group_key"`. + filter: string, Optional. Filters the results by principal type. Uses the [AIP-160](https://google.aip.dev/160) filter syntax. Only the following filters are supported: * `principal:group_key`: bindings for groups. This is the default when the filter is empty. * `principal:service_account OR principal:service_account_project_number`: bindings for service accounts. * `principal:federated_principal`: bindings for federated principals. Values can be in snake_case or camelCase. Whitespace and the order of `OR` terms don't matter. Any other filter returns an `INVALID_ARGUMENT` error. pageSize: integer, Optional. Maximum number of items to return. The server may return fewer items. If left blank, the server may return any number of items. pageToken: string, Optional. If left blank, returns the first page. To enumerate all items, use the next_page_token from your previous list operation. x__xgafv: string, V1 error format. @@ -333,64 +333,64 @@

Method Details

{ # Response of ListGcpUserAccessBindings. "gcpUserAccessBindings": [ # GcpUserAccessBinding { # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "dryRunAccessLevels": [ # Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunAccessLevels": [ # Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "groupKey": "A String", # Optional. Immutable. Google Group id whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht" - "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" + "groupKey": "A String", # Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `"01d520gv4vjcrht"` + "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"` "principal": { # The comprehensive identity container supporting identities including groups, service accounts, and federated identities. Only one of them can be set to create an access binding. # Optional. Immutable. The principal that is subject to the access policies in this policy binding. "federatedPrincipal": "A String", # Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: * Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` * All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` * All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` client scope and active `session_settings`. No other configurations are allowed. - "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement. + "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (for example, if there is a policy for all service accounts in a project and a policy for the service account), the closest (that is, the most specific) dry-run policy is used for the dry-run functionality and the closest enforcement policy is used for enforcement. "serviceAccountProjectNumber": "A String", # Immutable. Cloud project number used to assign policies to all service accounts owned by the project. }, "scopedAccessSettings": [ # Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. - { # A relationship between access settings and its scope. - "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + { # A relationship between access settings and their scope. + "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set. - "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" + "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set. + "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"` "A String", ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, - "scope": { # Access scope represents the client scope, etc. to which the settings will be applied to. # Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. - "clientScope": { # Client scope represents the application, etc. subject to this binding's restrictions. # Optional. Client scope for this access scope. + "scope": { # Access scope represents the client scope to which the settings are applied. # Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty. + "clientScope": { # Client scope represents the application, project, or other resource subject to this binding's restrictions. # Optional. Client scope for this access scope. "restrictedClientApplication": { # An application that accesses Google Cloud APIs. # Optional. The application that is subject to this binding's scope. "clientId": "A String", # The OAuth client ID of the application. "name": "A String", # The name of the application. Example: "Cloud Console" }, - "restrictedProject": { # A Google Cloud project which contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. + "restrictedProject": { # A Google Cloud project that contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope. "name": "A String", # The Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number is supported. Example: `projects/1234567890` }, }, }, }, ], - "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. + "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key. "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps. - "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. - "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false. - "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up. - "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param. + "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset. + "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`. + "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires. + "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter. }, }, ], @@ -417,74 +417,74 @@

Method Details

Updates a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.
 
 Args:
-  name: string, Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" (required)
+  name: string, Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"` (required)
   body: object, The request body.
     The object takes the form of:
 
 { # Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
-  "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
+  "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
     "A String",
   ],
-  "dryRunAccessLevels": [ # Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
+  "dryRunAccessLevels": [ # Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
     "A String",
   ],
-  "groupKey": "A String", # Optional. Immutable. Google Group id whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht"
-  "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
+  "groupKey": "A String", # Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See "id" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `"01d520gv4vjcrht"`
+  "name": "A String", # Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"`
   "principal": { # The comprehensive identity container supporting identities including groups, service accounts, and federated identities. Only one of them can be set to create an access binding. # Optional. Immutable. The principal that is subject to the access policies in this policy binding.
     "federatedPrincipal": "A String", # Immutable. The IAM principal identifier of the federated workforce or workload to assign the policy to. Examples include the following: * Single principal: `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}` * All workloads in a workload identity pool: `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*` * All Workforce Pools in a Google Cloud organization: `principalSet://cloudresourcemanager.googleapis.com/organizations/{organization_id}/type/WorkforcePool` Bindings created for all Workforce Pools in a Google Cloud organization support only `scoped_access_settings` with the `restricted_project` client scope and active `session_settings`. No other configurations are allowed.
-    "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement.
+    "serviceAccount": "A String", # Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (for example, if there is a policy for all service accounts in a project and a policy for the service account), the closest (that is, the most specific) dry-run policy is used for the dry-run functionality and the closest enforcement policy is used for enforcement.
     "serviceAccountProjectNumber": "A String", # Immutable. Cloud project number used to assign policies to all service accounts owned by the project.
   },
   "scopedAccessSettings": [ # Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications.
-    { # A relationship between access settings and its scope.
-      "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set.
-        "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
+    { # A relationship between access settings and their scope.
+      "activeSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set.
+        "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
           "A String",
         ],
-        "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope.
+        "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`.
           "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps.
-          "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
-          "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false.
-          "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up.
-          "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
+          "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
+          "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`.
+          "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires.
+          "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter.
         },
       },
-      "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set.
-        "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
+      "dryRunSettings": { # Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set. # Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set.
+        "accessLevels": [ # Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
           "A String",
         ],
-        "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. Session settings applied to user access on a given AccessScope.
+        "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. Session settings applied to user access on a given `AccessScope`.
           "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps.
-          "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
-          "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false.
-          "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up.
-          "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
+          "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
+          "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`.
+          "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires.
+          "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter.
         },
       },
-      "scope": { # Access scope represents the client scope, etc. to which the settings will be applied to. # Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty.
-        "clientScope": { # Client scope represents the application, etc. subject to this binding's restrictions. # Optional. Client scope for this access scope.
+      "scope": { # Access scope represents the client scope to which the settings are applied. # Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty.
+        "clientScope": { # Client scope represents the application, project, or other resource subject to this binding's restrictions. # Optional. Client scope for this access scope.
           "restrictedClientApplication": { # An application that accesses Google Cloud APIs. # Optional. The application that is subject to this binding's scope.
             "clientId": "A String", # The OAuth client ID of the application.
             "name": "A String", # The name of the application. Example: "Cloud Console"
           },
-          "restrictedProject": { # A Google Cloud project which contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope.
+          "restrictedProject": { # A Google Cloud project that contains applications and resources that users can access. # Optional. The Google Cloud project that is subject to this binding's scope.
             "name": "A String", # The Google Cloud project resource name. Format: `projects/{project_number}`. Only the project number is supported. Example: `projects/1234567890`
           },
         },
       },
     },
   ],
-  "sessionSettings": { # Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key.
+  "sessionSettings": { # Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings. # Optional. The Google Cloud session length (GCSL) policy for the group key.
     "maxInactivity": "A String", # Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps.
-    "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
-    "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false.
-    "sessionReauthMethod": "A String", # Optional. Session method when user's Google Cloud session is up.
-    "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
+    "sessionLength": "A String", # Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.
+    "sessionLengthEnabled": True or False, # Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`.
+    "sessionReauthMethod": "A String", # Optional. Session challenge method when a user's Google Cloud session expires.
+    "useOidcMaxAge": True or False, # Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter.
   },
 }
 
-  append: boolean, Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with session_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when "scoped_access_settings" is not set in the update_mask.
-  updateMask: string, Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `session_settings`, `scoped_access_settings`. update_mask { paths: "access_levels" }
+  append: boolean, Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only `scoped_access_settings` with `session_settings` supports appending. Global `access_levels`, `access_levels` in `scoped_access_settings`, `dry_run_access_levels`, and `session_settings` are not compatible with append functionality, and the request will return an error if `append=true` when these settings are in the `update_mask`. The request will also return an error if `append=true` when `"scoped_access_settings"` is not set in the `update_mask`.
+  updateMask: string, Required. Only the fields specified in this mask are updated. Because `name` and `group_key` cannot be changed, `update_mask` is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `session_settings`, `scoped_access_settings`. update_mask { paths: "access_levels" }
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
diff --git a/docs/dyn/accesscontextmanager_v1.permissions.html b/docs/dyn/accesscontextmanager_v1.permissions.html
index be9ad6b109..ecbe9afac0 100644
--- a/docs/dyn/accesscontextmanager_v1.permissions.html
+++ b/docs/dyn/accesscontextmanager_v1.permissions.html
@@ -94,7 +94,7 @@ 

Method Details

Lists all supported permissions in VPC Service Controls ingress and egress rules for Granular Controls.
 
 Args:
-  pageSize: integer, Optional. This flag specifies the maximum number of services to return per page. Default value is 100.
+  pageSize: integer, Optional. This flag specifies the maximum number of permissions to return per page. Default value is 100.
   pageToken: string, Optional. Use this token to retrieve a specific page of results. Default is the first page.
   x__xgafv: string, V1 error format.
     Allowed values
diff --git a/docs/dyn/accesscontextmanager_v1.projects.html b/docs/dyn/accesscontextmanager_v1.projects.html
index 1e231928b2..bb347874af 100644
--- a/docs/dyn/accesscontextmanager_v1.projects.html
+++ b/docs/dyn/accesscontextmanager_v1.projects.html
@@ -79,7 +79,7 @@ 

Instance Methods

Close httplib2 connections.

lookupConfiguredServicePerimeter(resource, x__xgafv=None)

-

Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].

+

Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.

Method Details

close() @@ -88,10 +88,10 @@

Method Details

lookupConfiguredServicePerimeter(resource, x__xgafv=None) -
Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].
+  
Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.
 
 Args:
-  resource: string, Required. The Resource to resolve (e.g. "projects/123", "folders/456"). (required)
+  resource: string, Required. The resource to resolve (for example, `projects/123` or `folders/456`). (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -101,8 +101,8 @@ 

Method Details

An object of the form: { # A configured service perimeter returned by Access Context Manager. - "restrictedResource": "A String", # The resource (e.g. "projects/123", "folders/456") that directly owns/is restricted by the enforced perimeter. - "restrictedResourceDryRun": "A String", # The resource (e.g. "projects/123", "folders/456") that directly owns/is restricted by the dry-run perimeter. + "restrictedResource": "A String", # The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the enforced perimeter. + "restrictedResourceDryRun": "A String", # The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the dry-run perimeter. "servicePerimeter": "A String", # Fully qualified name of the configured enforced perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` This field is empty if no enforced perimeter applies. "servicePerimeterDryRun": "A String", # Fully qualified name of the configured dry-run perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{perimeter_name}` This field is empty if no dry-run perimeter configuration applies. }
diff --git a/docs/dyn/accesscontextmanager_v1.services.html b/docs/dyn/accesscontextmanager_v1.services.html index 3b0abe0594..c84f92c493 100644 --- a/docs/dyn/accesscontextmanager_v1.services.html +++ b/docs/dyn/accesscontextmanager_v1.services.html @@ -106,19 +106,19 @@

Method Details

Returns: An object of the form: - { # `SupportedService` specifies the VPC Service Controls and its properties. + { # `SupportedService` specifies a service supported by VPC Service Controls and its properties. "availableOnRestrictedVip": True or False, # True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud. "knownLimitations": True or False, # True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details. "name": "A String", # The service name or address of the supported service, such as `service.googleapis.com`. "serviceSupportStage": "A String", # The support stage of the service. "supportStage": "A String", # The support stage of the service. - "supportedMethods": [ # The list of the supported methods. This field exists only in response to GetSupportedService + "supportedMethods": [ # The list of supported methods. This field exists only in response to GetSupportedService. { # An allowed method or permission of a service specified in ApiOperation. "method": "A String", # A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed. "permission": "A String", # A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation. }, ], - "title": "A String", # The name of the supported product, such as 'Cloud Product API'. + "title": "A String", # The name of the supported product, such as `'Cloud Product API'`. }
@@ -140,19 +140,19 @@

Method Details

{ # A response to `ListSupportedServicesRequest`. "nextPageToken": "A String", # Use this pagination token to retrieve the next page of results. An empty value indicates that no further results are available. "supportedServices": [ # List of services supported by VPC Service Controls instances. - { # `SupportedService` specifies the VPC Service Controls and its properties. + { # `SupportedService` specifies a service supported by VPC Service Controls and its properties. "availableOnRestrictedVip": True or False, # True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud. "knownLimitations": True or False, # True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details. "name": "A String", # The service name or address of the supported service, such as `service.googleapis.com`. "serviceSupportStage": "A String", # The support stage of the service. "supportStage": "A String", # The support stage of the service. - "supportedMethods": [ # The list of the supported methods. This field exists only in response to GetSupportedService + "supportedMethods": [ # The list of supported methods. This field exists only in response to GetSupportedService. { # An allowed method or permission of a service specified in ApiOperation. "method": "A String", # A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed. "permission": "A String", # A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation. }, ], - "title": "A String", # The name of the supported product, such as 'Cloud Product API'. + "title": "A String", # The name of the supported product, such as `'Cloud Product API'`. }, ], }
diff --git a/docs/dyn/agentidentity_v1.projects.locations.authProviders.html b/docs/dyn/agentidentity_v1.projects.locations.authProviders.html index c6b6e73fb9..53a7f2786d 100644 --- a/docs/dyn/agentidentity_v1.projects.locations.authProviders.html +++ b/docs/dyn/agentidentity_v1.projects.locations.authProviders.html @@ -121,6 +121,9 @@

Instance Methods

query_next(previous_request, previous_response)

Retrieves the next page of results.

+

+ resolveAuthorization(name, body=None, x__xgafv=None)

+

Resolves an authorization for a user on an auth provider, creating one if it does not exist or returning an existing one.

revokeAuthorization(name, body=None, x__xgafv=None)

Revokes all authorizations for a specific user on an auth provider. This deletes all authorization records associated with the user and auth provider, effectively revoking access across all agents.

@@ -156,6 +159,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -172,6 +183,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -209,6 +250,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -225,6 +274,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -293,6 +372,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -309,6 +396,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -358,6 +475,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -374,6 +499,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -416,6 +571,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -432,6 +595,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -529,6 +722,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -545,6 +746,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -602,6 +833,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -618,6 +857,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -655,6 +924,14 @@

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -671,6 +948,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", @@ -768,6 +1075,32 @@

Method Details

+
+ resolveAuthorization(name, body=None, x__xgafv=None) +
Resolves an authorization for a user on an auth provider, creating one if it does not exist or returning an existing one.
+
+Args:
+  name: string, Required. The name of the auth provider to resolve authorization for. Format: projects/{project}/locations/{location}/authProviders/{auth_provider} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for `ResolveAuthorization`.
+  "clientUserId": "A String", # Required. The user ID of the client for whom the authorization is resolved.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for `ResolveAuthorization`.
+  "authorization": "A String", # The resource name of the resolved authorization. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}/authorizations/{authorization}
+}
+
+
revokeAuthorization(name, body=None, x__xgafv=None)
Revokes all authorizations for a specific user on an auth provider. This deletes all authorization records associated with the user and auth provider, effectively revoking access across all agents.
@@ -937,6 +1270,14 @@ 

Method Details

"apiKey": { # Configuration for API key authentication. # Parameters for API key authentication. "apiKey": "A String", # Optional. Input only. The API key for this auth provider. }, + "connectorReferenceAuthProvider": { # Configuration parameters for the Connector Reference auth provider. # Parameters for Connector Reference authentication. + "authorizationDetails": [ # Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects. + { + "a_key": "", # Properties of the object. + }, + ], + "connector": "A String", # Required. The name of the referenced connector. + }, "geAuthProvider": { # Configuration for Gemini Enterprise authentication. # Parameters for Gemini Enterprise authentication. }, "threeLeggedOauth": { # Configuration for 3-legged OAuth (3LO) authentication. # Parameters for 3-legged OAuth (3LO) authentication. @@ -953,6 +1294,36 @@

Method Details

"clientSecret": "A String", # Optional. Input only. The client secret of the OAuth client. "tokenUrl": "A String", # Optional. The token endpoint of the OAuth client. }, + "xaaAuthProvider": { # Configuration parameters for the Cross-App Access auth provider. # Parameters for Cross-App Access authentication. + "additionalParameters": { # Optional. Additional parameters to be passed to the token endpoint. + "a_key": "A String", + }, + "clientAssertionJwtAuth": { # Configuration for client ID and client assertion JWT authentication. # Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT. + "clientId": "A String", # Required. The client identifier. + }, + "clientSecretAuth": { # Configuration for client ID and client secret authentication. # Option 1: Authenticate using a standard `client_id` and `client_secret`. + "clientId": "A String", # Required. The client identifier. + "clientSecret": "A String", # Required. Input only. The client secret. + }, + "customIssuer": { # Configuration for a custom or third-party authorization server issuer. # Configuration when using a custom or third-party authorization server as the issuer. + "issuer": "A String", # Optional. The issuer identifier of the target Authorization Server. + "tokenUrl": "A String", # Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens. + }, + "googleAccount": { # Configuration for Google Account usage as the issuer. # Configuration when using Google Accounts as the issuer. + }, + "idJagInput": { # Marker message indicating the input is already an ID-JAG, so no fetching is required. # Configuration for when the input is already an ID-JAG. + }, + "idTokenInput": { # Defines how to process an input ID token to obtain an ID-JAG. # Configuration for when the input is an ID token. + "agentIdentityPool": { # Marker message to indicate the managed Agent Identity Pool is used. # Indicates the managed Agent Identity pool should be used to fetch the ID-JAG. + }, + "idJagAdditionalClaims": { # Optional. Optional additional claims to include when fetching an ID-JAG. + "a_key": "", # Properties of the object. + }, + "idJagAuthProvider": "A String", # The resource name of the ID-JAG auth provider. Format: "projects/{project}/locations/{location}/authProviders/{auth_provider}" + }, + "workforceIdentityFederation": { # Configuration for Workforce Identity Federation usage as the issuer. # Configuration when using Workforce Identity Federation as the issuer. + }, + }, }, "blockedScopes": [ # Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in `allowed_scopes`. `blocked_scopes` takes precedence over `allowed_scopes`. The number of blocked scopes is limited to 200. "A String", diff --git a/docs/dyn/agentregistry_v1.projects.locations.aiApplications.mcpServers.html b/docs/dyn/agentregistry_v1.projects.locations.aiApplications.mcpServers.html index 9fb7069960..a32ff847f4 100644 --- a/docs/dyn/agentregistry_v1.projects.locations.aiApplications.mcpServers.html +++ b/docs/dyn/agentregistry_v1.projects.locations.aiApplications.mcpServers.html @@ -125,6 +125,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -177,6 +180,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false diff --git a/docs/dyn/agentregistry_v1.projects.locations.findings.html b/docs/dyn/agentregistry_v1.projects.locations.findings.html index 004defe215..673aa807dc 100644 --- a/docs/dyn/agentregistry_v1.projects.locations.findings.html +++ b/docs/dyn/agentregistry_v1.projects.locations.findings.html @@ -107,7 +107,6 @@

Method Details

An object of the form: { # Represents a security Finding. - "category": "A String", # Optional. Category of the finding. "createTime": "A String", # Output only. Create time. "detail": "A String", # Optional. Detailed description of the finding. "files": [ # Optional. File associated with the finding. @@ -146,7 +145,6 @@

Method Details

{ # Message for response to listing Findings. "findings": [ # The list of Findings. { # Represents a security Finding. - "category": "A String", # Optional. Category of the finding. "createTime": "A String", # Output only. Create time. "detail": "A String", # Optional. Detailed description of the finding. "files": [ # Optional. File associated with the finding. diff --git a/docs/dyn/agentregistry_v1.projects.locations.mcpServers.html b/docs/dyn/agentregistry_v1.projects.locations.mcpServers.html index cf038b3c82..e55f9d5563 100644 --- a/docs/dyn/agentregistry_v1.projects.locations.mcpServers.html +++ b/docs/dyn/agentregistry_v1.projects.locations.mcpServers.html @@ -131,6 +131,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -185,6 +188,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -261,6 +267,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false diff --git a/docs/dyn/agentregistry_v1.projects.locations.skills.html b/docs/dyn/agentregistry_v1.projects.locations.skills.html index f9a2fdc285..9382935d89 100644 --- a/docs/dyn/agentregistry_v1.projects.locations.skills.html +++ b/docs/dyn/agentregistry_v1.projects.locations.skills.html @@ -137,7 +137,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -278,7 +278,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -424,7 +424,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -512,7 +512,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -628,7 +628,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.aiApplications.mcpServers.html b/docs/dyn/agentregistry_v1alpha.projects.locations.aiApplications.mcpServers.html index 5031043237..5e4453856d 100644 --- a/docs/dyn/agentregistry_v1alpha.projects.locations.aiApplications.mcpServers.html +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.aiApplications.mcpServers.html @@ -125,6 +125,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -177,6 +180,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.findings.html b/docs/dyn/agentregistry_v1alpha.projects.locations.findings.html index 4caa587e05..d51d42f833 100644 --- a/docs/dyn/agentregistry_v1alpha.projects.locations.findings.html +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.findings.html @@ -107,7 +107,6 @@

Method Details

An object of the form: { # Represents a security Finding. - "category": "A String", # Optional. Category of the finding. "createTime": "A String", # Output only. Create time. "detail": "A String", # Optional. Detailed description of the finding. "files": [ # Optional. File associated with the finding. @@ -146,7 +145,6 @@

Method Details

{ # Message for response to listing Findings. "findings": [ # The list of Findings. { # Represents a security Finding. - "category": "A String", # Optional. Category of the finding. "createTime": "A String", # Output only. Create time. "detail": "A String", # Optional. Detailed description of the finding. "files": [ # Optional. File associated with the finding. diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html b/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html index 57ccc09bc1..a3c5f24bf4 100644 --- a/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.mcpServers.html @@ -131,6 +131,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -185,6 +188,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false @@ -261,6 +267,9 @@

Method Details

"name": "A String", # Identifier. The resource name of the MCP Server. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}`. "tools": [ # Output only. Tools provided by the MCP Server. { # Represents a single tool provided by an MCP Server. + "_meta": { # Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only. + "a_key": "", # Properties of the object. + }, "annotations": { # Annotations describing the characteristics and behavior of a tool or operation. # Output only. Annotations associated with the tool. "destructiveHint": True or False, # Output only. If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. NOTE: This property is meaningful only when `read_only_hint == false` Default: true "idempotentHint": True or False, # Output only. If true, calling the tool repeatedly with the same arguments will have no additional effect on its environment. NOTE: This property is meaningful only when `read_only_hint == false` Default: false diff --git a/docs/dyn/agentregistry_v1alpha.projects.locations.skills.html b/docs/dyn/agentregistry_v1alpha.projects.locations.skills.html index ddf6ca9669..acc5c21d55 100644 --- a/docs/dyn/agentregistry_v1alpha.projects.locations.skills.html +++ b/docs/dyn/agentregistry_v1alpha.projects.locations.skills.html @@ -137,7 +137,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -278,7 +278,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -424,7 +424,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -512,7 +512,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. @@ -628,7 +628,7 @@

Method Details

"createTime": "A String", # Output only. Create time. "defaultRevision": "A String", # Optional. The full resource name of the revision currently served by default (floating track). Format: `projects/{project}/locations/{location}/skills/{skill}/revisions/{revision}` "description": "A String", # Optional. Brief summary describing the capabilities of the skill. Maximum length is 2048 characters. - "displayName": "A String", # Required. Human-readable display name of the skill. Maximum length is 128 characters. + "displayName": "A String", # Optional. Human-readable display name of the skill. Maximum length is 128 characters. "frontmatter": { # Structured metadata attributes extracted from the package's local SKILL.md frontmatter. # Output only. Lightweight frontmatter metadata attributes copied from the default revision. "compatibility": "A String", # Optional. Environmental dependencies or local sidecars. "description": "A String", # Required. Functional description. diff --git a/docs/dyn/aiplatform_v1.endpoints.html b/docs/dyn/aiplatform_v1.endpoints.html index 81815d433f..a9ab4749af 100644 --- a/docs/dyn/aiplatform_v1.endpoints.html +++ b/docs/dyn/aiplatform_v1.endpoints.html @@ -1022,6 +1022,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -1196,6 +1197,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -2056,6 +2060,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -2230,6 +2235,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1.projects.locations.agents.html b/docs/dyn/aiplatform_v1.projects.locations.agents.html index 55136e98c1..7730da9ae7 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.agents.html +++ b/docs/dyn/aiplatform_v1.projects.locations.agents.html @@ -78,7 +78,7 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, body=None, x__xgafv=None)

+ create(parent, body=None, idpNonce=None, x__xgafv=None)

Creates an agent.

delete(name, force=None, x__xgafv=None)

@@ -111,7 +111,7 @@

Method Details

- create(parent, body=None, x__xgafv=None) + create(parent, body=None, idpNonce=None, x__xgafv=None)
Creates an agent.
 
 Args:
@@ -120,6 +120,7 @@ 

Method Details

The object takes the form of: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -153,6 +154,7 @@

Method Details

"updated": "A String", # Output only. The time the agent was last updated. } + idpNonce: string, Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for session and device non-repudiation. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -233,6 +235,7 @@

Method Details

An object of the form: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -323,6 +326,7 @@

Method Details

{ # Response message for AgentService.ListAgents. "agents": [ # The agents matching the request. { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -384,6 +388,7 @@

Method Details

The object takes the form of: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. diff --git a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html index 71f642bc74..c8c9635a02 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html +++ b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html @@ -1991,6 +1991,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -2165,6 +2166,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -4507,6 +4511,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -4681,6 +4686,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1.projects.locations.publishers.files.html b/docs/dyn/aiplatform_v1.projects.locations.publishers.files.html new file mode 100644 index 0000000000..2f408f4c58 --- /dev/null +++ b/docs/dyn/aiplatform_v1.projects.locations.publishers.files.html @@ -0,0 +1,255 @@ + + + +

Agent Platform API . projects . locations . publishers . files

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.

+

+ download(name, x__xgafv=None)

+

Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.

+

+ download_media(name, x__xgafv=None)

+

Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.

+

+ get(name, x__xgafv=None)

+

Gets the metadata for the given file.

+

+ list(parent, publishersId, ids=None, limit=None, page=None, x__xgafv=None)

+

Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.

+

+ upload(parent, publishersId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

+

Uploads a file that can be referenced by ID from subsequent Claude model requests.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ delete(name, x__xgafv=None) +
Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.
+
+Args:
+  name: string, Required. The name of the file to delete. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.DeleteFile. Returns `{id, type: "file_deleted"}` rather than an empty body, matching the Claude Files API.
+  "id": "A String", # The ID of the deleted file.
+  "type": "A String", # The object type. Always `file_deleted`.
+}
+
+ +
+ download(name, x__xgafv=None) +
Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.
+
+Args:
+  name: string, Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.DownloadFile.
+}
+
+ +
+ download_media(name, x__xgafv=None) +
Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.
+
+Args:
+  name: string, Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  The media object as a string.
+
+    
+
+ +
+ get(name, x__xgafv=None) +
Gets the metadata for the given file.
+
+Args:
+  name: string, Required. The name of the file to get. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+  "created_at": "A String", # Output only. The time at which the file was created.
+  "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+  "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+  "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+  "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+  "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+  "size_bytes": 42, # Output only. The size of the file in bytes.
+  "type": "A String", # Output only. The object type. Always `file`.
+}
+
+ +
+ list(parent, publishersId, ids=None, limit=None, page=None, x__xgafv=None) +
Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.
+
+Args:
+  parent: string, Required. The location to list files under. Format: `projects/{project}/locations/{location}` (required)
+  publishersId: string, A parameter (required)
+  ids: string, Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one occurrence per ID. (repeated)
+  limit: integer, Optional. The number of files to return per page. Defaults to 20 if unset, maximum 1000. Mutually exclusive with `ids`.
+  page: string, Optional. Opaque pagination cursor. Pass the previous response's `next_page` to fetch the next page. Mutually exclusive with `ids`.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.ListFiles.
+  "data": [ # The files.
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+      "created_at": "A String", # Output only. The time at which the file was created.
+      "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+      "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+      "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+      "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+      "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+      "size_bytes": 42, # Output only. The size of the file in bytes.
+      "type": "A String", # Output only. The object type. Always `file`.
+    },
+  ],
+  "next_page": "A String", # Opaque cursor for the next page. Unset on the last page, and always unset when `ids` was supplied, since batch fetch is single-page.
+}
+
+ +
+ upload(parent, publishersId, body=None, media_body=None, media_mime_type=None, x__xgafv=None) +
Uploads a file that can be referenced by ID from subsequent Claude model requests.
+
+Args:
+  parent: string, Required. The location to create the file under. Format: `projects/{project}/locations/{location}` (required)
+  publishersId: string, A parameter (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for ClaudeFileService.CreateFile.
+}
+
+  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+  "created_at": "A String", # Output only. The time at which the file was created.
+  "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+  "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+  "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+  "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+  "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+  "size_bytes": 42, # Output only. The size of the file in bytes.
+  "type": "A String", # Output only. The object type. Always `file`.
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1.projects.locations.publishers.html b/docs/dyn/aiplatform_v1.projects.locations.publishers.html index 5f9afbe16b..a584deaa3a 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.publishers.html +++ b/docs/dyn/aiplatform_v1.projects.locations.publishers.html @@ -74,6 +74,11 @@

Agent Platform API . projects . locations . publishers

Instance Methods

+

+ files() +

+

Returns the files Resource.

+

models()

diff --git a/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html b/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html index ada4d3be4e..b4ac73e47e 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html +++ b/docs/dyn/aiplatform_v1.projects.locations.publishers.models.html @@ -79,6 +79,9 @@

Instance Methods

Returns the invoke Resource.

+

+ batchEmbedContents(model, body=None, x__xgafv=None)

+

Generates embeddings directly from multiple contents.

close()

Close httplib2 connections.

@@ -116,6 +119,180 @@

Instance Methods

streamRawPredict(endpoint, body=None, x__xgafv=None)

Perform a streaming online prediction with an arbitrary HTTP payload.

Method Details

+
+ batchEmbedContents(model, body=None, x__xgafv=None) +
Generates embeddings directly from multiple contents.
+
+Args:
+  model: string, Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for PredictionService.BatchEmbedContents.
+  "requests": [ # Required. Embed requests for the batch. The model in each of these requests must either be empty or match the model specified in `BatchEmbedContentsRequest.model`. All the requests in a batch must have the same output dimensionality and auto truncation parameters.
+    { # Request message for PredictionService.EmbedContent.
+      "autoTruncate": True or False, # Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. Whether to silently truncate the input content if it's longer than the maximum sequence length.
+      "content": { # The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message. # Required. The content to be embedded.
+        "parts": [ # Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.
+          { # A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` must contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.
+            "audioTranscription": { # The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate `Part` with its own `AudioTranscription` carrying the `speaker_label`. # Optional. Audio (input or output) transcription. This is only set when this `Part` contains audio data.
+              "speakerLabel": "A String", # Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). Present when `diarization` is set.
+              "text": "A String", # Required. The transcription text of this audio segment.
+              "words": [ # Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` is set.
+                { # Information about a single recognized word.
+                  "endOffset": "A String", # Optional. End offset in time of the word relative to the start of the audio.
+                  "startOffset": "A String", # Optional. Start offset in time of the word relative to the start of the audio.
+                  "word": "A String", # Required. Transcript of the word.
+                },
+              ],
+            },
+            "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+              "id": "A String", # Optional. The identifier of the `ExecutableCode` part this result is for. Only populated if the corresponding `ExecutableCode` has an id.
+              "outcome": "A String", # Required. Outcome of the code execution.
+              "output": "A String", # Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
+            },
+            "executableCode": { # Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated. # Optional. Code generated by the model that is intended to be executed.
+              "code": "A String", # Required. The code to be executed.
+              "id": "A String", # Optional. Unique identifier of the `ExecutableCode` part. The server returns the `CodeExecutionResult` with the matching `id`.
+              "language": "A String", # Required. Programming language of the `code`.
+            },
+            "fileData": { # URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage. # Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage.
+              "displayName": "A String", # Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled.
+              "fileUri": "A String", # Required. The URI of the file in Google Cloud Storage.
+              "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+            },
+            "functionCall": { # A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. # Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function.
+              "args": { # Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details.
+                "a_key": "", # Properties of the object.
+              },
+              "id": "A String", # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
+              "name": "A String", # Optional. The name of the function to call. Matches FunctionDeclaration.name.
+              "partialArgs": [ # Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
+                { # Partial argument value of the function call.
+                  "boolValue": True or False, # Optional. Represents a boolean value.
+                  "jsonPath": "A String", # Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
+                  "nullValue": "A String", # Optional. Represents a null value.
+                  "numberValue": 3.14, # Optional. Represents a double value.
+                  "stringValue": "A String", # Optional. Represents a string value.
+                  "willContinue": True or False, # Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.
+                },
+              ],
+              "willContinue": True or False, # Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
+            },
+            "functionResponse": { # The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a `FunctionCall` made based on model prediction. # Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted.
+              "id": "A String", # Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`.
+              "name": "A String", # Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name.
+              "parts": [ # Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
+                { # A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.
+                  "fileData": { # URI based data for function response. # URI based data.
+                    "displayName": "A String", # Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.
+                    "fileUri": "A String", # Required. URI.
+                    "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+                  },
+                  "inlineData": { # Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field. # Inline media bytes.
+                    "data": "A String", # Required. Raw bytes.
+                    "displayName": "A String", # Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.
+                    "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+                  },
+                },
+              ],
+              "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
+                "a_key": "", # Properties of the object.
+              },
+              "scheduling": "A String", # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
+            },
+            "inlineData": { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
+              "data": "A String", # Required. The raw bytes of the data.
+              "displayName": "A String", # Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled.
+              "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+            },
+            "mediaResolution": { # per part media resolution. Media resolution for the input media. # per part media resolution. Media resolution for the input media.
+              "level": "A String", # The tokenization quality used for given media.
+            },
+            "speechMetadata": { # Structured Metadata Sub-Message for Part # Optional. Turn-level metadata for speech generation (e.g. Daikon speaker/style). May be set alongside `text` to attach speaker and style information to a text part.
+              "speaker": "A String", # Optional. Identifies which speaker is speaking this turn.
+              "style": "A String", # Optional. Natural language description of the vocal style (e.g., "cheerful").
+            },
+            "text": "A String", # Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent.
+            "thought": True or False, # Optional. Indicates whether the `part` represents the model's thought process or reasoning.
+            "thoughtSignature": "A String", # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
+            "videoMetadata": { # Provides metadata for a video, including the start and end offsets for clipping and the frame rate. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
+              "endOffset": "A String", # Optional. The end offset of the video.
+              "fps": 3.14, # Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].
+              "startOffset": "A String", # Optional. The start offset of the video.
+            },
+          },
+        ],
+        "role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.
+      },
+      "embedContentConfig": { # Configurations for the EmbedContent API. # Optional. Configuration for the EmbedContent request.
+        "audioTrackExtraction": True or False, # Optional. Whether to extract audio from video content.
+        "autoTruncate": True or False, # Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length. Only applicable to text-only embedding models.
+        "documentOcr": True or False, # Optional. Whether to enable OCR for document content.
+        "outputDimensionality": 42, # Optional. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
+        "taskType": "A String", # Optional. The task type of the embedding. Only applicable to text-only embedding models.
+        "title": "A String", # Optional. The title for the text. Only applicable to text-only embedding models.
+      },
+      "model": "A String", # Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`
+      "outputDimensionality": 42, # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
+      "taskType": "A String", # Optional. Deprecated: Please use EmbedContentConfig.task_type instead. The task type of the embedding.
+      "title": "A String", # Optional. Deprecated: Please use EmbedContentConfig.title instead. The title for the text.
+    },
+  ],
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for PredictionService.BatchEmbedContents.
+  "embeddings": [ # The embeddings for each request, in the same order as provided in the batch request.
+    { # A list of floats representing an embedding.
+      "values": [ # Embedding vector values.
+        3.14,
+      ],
+    },
+  ],
+  "usageMetadata": { # Usage metadata about the content generation request and response. This message provides a detailed breakdown of token usage and other relevant metrics. # Usage metadata about the response(s).
+    "cacheTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the cached content.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "cachedContentTokenCount": 42, # Output only. The number of tokens in the cached content that was used for this request.
+    "candidatesTokenCount": 42, # The total number of tokens in the generated candidates.
+    "candidatesTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the generated candidates.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "promptTokenCount": 42, # The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content.
+    "promptTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the prompt.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "thoughtsTokenCount": 42, # Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable.
+    "toolUsePromptTokenCount": 42, # Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable.
+    "toolUsePromptTokensDetails": [ # Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "totalTokenCount": 42, # The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.
+    "trafficType": "A String", # Output only. The traffic type for this request.
+  },
+}
+
+
close()
Close httplib2 connections.
@@ -993,6 +1170,7 @@

Method Details

"taskType": "A String", # Optional. The task type of the embedding. Only applicable to text-only embedding models. "title": "A String", # Optional. The title for the text. Only applicable to text-only embedding models. }, + "model": "A String", # Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` "outputDimensionality": 42, # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end. "taskType": "A String", # Optional. Deprecated: Please use EmbedContentConfig.task_type instead. The task type of the embedding. "title": "A String", # Optional. Deprecated: Please use EmbedContentConfig.title instead. The title for the text. @@ -1197,6 +1375,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -1371,6 +1550,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -2459,6 +2641,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -2633,6 +2816,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1.publishers.models.html b/docs/dyn/aiplatform_v1.publishers.models.html index bf1edea159..ed91274cb2 100644 --- a/docs/dyn/aiplatform_v1.publishers.models.html +++ b/docs/dyn/aiplatform_v1.publishers.models.html @@ -1015,6 +1015,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -1189,6 +1190,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -2624,6 +2628,7 @@

Method Details

"role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. }, ], + "continuationToken": "A String", # Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`. "generationConfig": { # Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output. # Optional. Generation config. "audioTimestamp": True or False, # Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. "audioTranscriptionConfig": { # Configuration for speech recognition (transcription). # Optional. Configuration for audio transcription (speech recognition). @@ -2798,6 +2803,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1beta1.endpoints.html b/docs/dyn/aiplatform_v1beta1.endpoints.html index 7eb2480da8..e62d3a45a2 100644 --- a/docs/dyn/aiplatform_v1beta1.endpoints.html +++ b/docs/dyn/aiplatform_v1beta1.endpoints.html @@ -1214,6 +1214,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -2262,6 +2265,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1beta1.html b/docs/dyn/aiplatform_v1beta1.html index 8f66369dfb..258eec4a09 100644 --- a/docs/dyn/aiplatform_v1beta1.html +++ b/docs/dyn/aiplatform_v1beta1.html @@ -139,11 +139,6 @@

Instance Methods

Returns the evaluationSets Resource.

-

- evaluationTasks() -

-

Returns the evaluationTasks Resource.

-

exampleStores()

diff --git a/docs/dyn/aiplatform_v1beta1.interactions.html b/docs/dyn/aiplatform_v1beta1.interactions.html index 7bac20a2ec..403384c341 100644 --- a/docs/dyn/aiplatform_v1beta1.interactions.html +++ b/docs/dyn/aiplatform_v1beta1.interactions.html @@ -324,7 +324,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -2894,7 +2893,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -5468,7 +5466,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -8016,7 +8013,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.agents.html b/docs/dyn/aiplatform_v1beta1.projects.locations.agents.html index 894ea8144a..0c9e5be627 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.agents.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.agents.html @@ -83,7 +83,7 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, body=None, x__xgafv=None)

+ create(parent, body=None, idpNonce=None, x__xgafv=None)

Creates an agent.

delete(name, force=None, x__xgafv=None)

@@ -116,7 +116,7 @@

Method Details

- create(parent, body=None, x__xgafv=None) + create(parent, body=None, idpNonce=None, x__xgafv=None)
Creates an agent.
 
 Args:
@@ -125,6 +125,7 @@ 

Method Details

The object takes the form of: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -158,6 +159,7 @@

Method Details

"updated": "A String", # Output only. The time the agent was last updated. } + idpNonce: string, Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for session and device non-repudiation. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -238,6 +240,7 @@

Method Details

An object of the form: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -328,6 +331,7 @@

Method Details

{ # Response message for AgentService.ListAgents. "agents": [ # The agents matching the request. { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. @@ -389,6 +393,7 @@

Method Details

The object takes the form of: { # A Vertex agent contains instructions and configurations for the LLM to execute a certain task. + "aiApplication": "A String", # Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`. "base_agent": "A String", # Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead. "base_environment": "", # Optional. The base environment configuration for the agent. Valid types: * A string value for the environment ID, or `remote` for the default. * A struct value for the `environment_config`. "created": "A String", # Output only. The time the agent was created. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html index 29eb2ff4d7..0695c9231b 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.endpoints.html @@ -2406,6 +2406,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -5279,6 +5282,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.html b/docs/dyn/aiplatform_v1beta1.projects.locations.html index b930541798..b38d8c4202 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.html @@ -154,11 +154,6 @@

Instance Methods

Returns the evaluationSets Resource.

-

- evaluationTasks() -

-

Returns the evaluationTasks Resource.

-

exampleStores()

diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.interactions.html b/docs/dyn/aiplatform_v1beta1.projects.locations.interactions.html index 13235c71fe..554284553a 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.interactions.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.interactions.html @@ -327,7 +327,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -2885,7 +2884,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -5445,7 +5443,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -8012,7 +8009,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. @@ -10560,7 +10556,6 @@

Method Details

"uri": "A String", # The URI of the video. }, }, - "continuationToken": "A String", # Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding. "created": "A String", # Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ). "envId": "A String", # The environment ID for the interaction. Can be 'remote' for default environment. "environmentId": "A String", # Output only. The environment ID for the interaction. Only populated if environment config is set in the request. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.files.html b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.files.html new file mode 100644 index 0000000000..8d3ecdf190 --- /dev/null +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.files.html @@ -0,0 +1,255 @@ + + + +

Agent Platform API . projects . locations . publishers . files

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.

+

+ download(name, x__xgafv=None)

+

Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.

+

+ download_media(name, x__xgafv=None)

+

Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.

+

+ get(name, x__xgafv=None)

+

Gets the metadata for the given file.

+

+ list(parent, publishersId, ids=None, limit=None, page=None, x__xgafv=None)

+

Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.

+

+ upload(parent, publishersId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

+

Uploads a file that can be referenced by ID from subsequent Claude model requests.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ delete(name, x__xgafv=None) +
Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.
+
+Args:
+  name: string, Required. The name of the file to delete. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.DeleteFile. Returns `{id, type: "file_deleted"}` rather than an empty body, matching the Claude Files API.
+  "id": "A String", # The ID of the deleted file.
+  "type": "A String", # The object type. Always `file_deleted`.
+}
+
+ +
+ download(name, x__xgafv=None) +
Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.
+
+Args:
+  name: string, Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.DownloadFile.
+}
+
+ +
+ download_media(name, x__xgafv=None) +
Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.
+
+Args:
+  name: string, Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  The media object as a string.
+
+    
+
+ +
+ get(name, x__xgafv=None) +
Gets the metadata for the given file.
+
+Args:
+  name: string, Required. The name of the file to get. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+  "created_at": "A String", # Output only. The time at which the file was created.
+  "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+  "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+  "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+  "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+  "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+  "size_bytes": 42, # Output only. The size of the file in bytes.
+  "type": "A String", # Output only. The object type. Always `file`.
+}
+
+ +
+ list(parent, publishersId, ids=None, limit=None, page=None, x__xgafv=None) +
Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.
+
+Args:
+  parent: string, Required. The location to list files under. Format: `projects/{project}/locations/{location}` (required)
+  publishersId: string, A parameter (required)
+  ids: string, Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one occurrence per ID. (repeated)
+  limit: integer, Optional. The number of files to return per page. Defaults to 20 if unset, maximum 1000. Mutually exclusive with `ids`.
+  page: string, Optional. Opaque pagination cursor. Pass the previous response's `next_page` to fetch the next page. Mutually exclusive with `ids`.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for ClaudeFileService.ListFiles.
+  "data": [ # The files.
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+      "created_at": "A String", # Output only. The time at which the file was created.
+      "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+      "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+      "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+      "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+      "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+      "size_bytes": 42, # Output only. The size of the file in bytes.
+      "type": "A String", # Output only. The object type. Always `file`.
+    },
+  ],
+  "next_page": "A String", # Opaque cursor for the next page. Unset on the last page, and always unset when `ids` was supplied, since batch fetch is single-page.
+}
+
+ +
+ upload(parent, publishersId, body=None, media_body=None, media_mime_type=None, x__xgafv=None) +
Uploads a file that can be referenced by ID from subsequent Claude model requests.
+
+Args:
+  parent: string, Required. The location to create the file under. Format: `projects/{project}/locations/{location}` (required)
+  publishersId: string, A parameter (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for ClaudeFileService.CreateFile.
+}
+
+  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.
+  "created_at": "A String", # Output only. The time at which the file was created.
+  "downloadable": True or False, # Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.
+  "expires_at": "A String", # Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.
+  "filename": "A String", # Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:"|?*\/` are not accepted.
+  "id": "A String", # Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.
+  "mime_type": "A String", # Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.
+  "size_bytes": 42, # Output only. The size of the file in bytes.
+  "type": "A String", # Output only. The object type. Always `file`.
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.html b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.html index 810c9992f7..c26c8c423f 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.html @@ -74,6 +74,11 @@

Agent Platform API . projects . locations . publishers

Instance Methods

+

+ files() +

+

Returns the files Resource.

+

models()

diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html index a3c0eec4cf..6c97d65fed 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html @@ -79,6 +79,9 @@

Instance Methods

Returns the invoke Resource.

+

+ batchEmbedContents(model, body=None, x__xgafv=None)

+

Generates embeddings directly from multiple contents.

close()

Close httplib2 connections.

@@ -128,6 +131,181 @@

Instance Methods

streamRawPredict(endpoint, body=None, x__xgafv=None)

Perform a streaming online prediction with an arbitrary HTTP payload.

Method Details

+
+ batchEmbedContents(model, body=None, x__xgafv=None) +
Generates embeddings directly from multiple contents.
+
+Args:
+  model: string, Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for PredictionService.BatchEmbedContents.
+  "requests": [ # Required. Embed requests for the batch. The model in each of these requests must either be empty or match the model specified in `BatchEmbedContentsRequest.model`. All the requests in a batch must have the same output dimensionality and auto truncation parameters.
+    { # Request message for PredictionService.EmbedContent.
+      "autoTruncate": True or False, # Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. Whether to silently truncate the input content if it's longer than the maximum sequence length.
+      "content": { # The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message. # Required. The content to be embedded.
+        "parts": [ # Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.
+          { # A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` must contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.
+            "audioTranscription": { # The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate `Part` with its own `AudioTranscription` carrying the `speaker_label`. # Optional. Audio (input or output) transcription. This is only set when this `Part` contains audio data.
+              "speakerLabel": "A String", # Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). Present when `diarization` is set.
+              "text": "A String", # Required. The transcription text of this audio segment.
+              "words": [ # Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` is set.
+                { # Information about a single recognized word.
+                  "endOffset": "A String", # Optional. End offset in time of the word relative to the start of the audio.
+                  "startOffset": "A String", # Optional. Start offset in time of the word relative to the start of the audio.
+                  "word": "A String", # Required. Transcript of the word.
+                },
+              ],
+            },
+            "codeExecutionResult": { # Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. # Optional. The result of executing the ExecutableCode.
+              "id": "A String", # Optional. The identifier of the `ExecutableCode` part this result is for. Only populated if the corresponding `ExecutableCode` has an id.
+              "outcome": "A String", # Required. Outcome of the code execution.
+              "output": "A String", # Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
+            },
+            "executableCode": { # Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the `CodeExecution` tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated. # Optional. Code generated by the model that is intended to be executed.
+              "code": "A String", # Required. The code to be executed.
+              "id": "A String", # Optional. Unique identifier of the `ExecutableCode` part. The server returns the `CodeExecutionResult` with the matching `id`.
+              "language": "A String", # Required. Programming language of the `code`.
+            },
+            "fileData": { # URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage. # Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage.
+              "displayName": "A String", # Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled.
+              "fileUri": "A String", # Required. The URI of the file in Google Cloud Storage.
+              "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+            },
+            "functionCall": { # A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. # Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function.
+              "args": { # Optional. The function parameters and values in JSON object format. See FunctionDeclaration.parameters for parameter details.
+                "a_key": "", # Properties of the object.
+              },
+              "id": "A String", # Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
+              "name": "A String", # Optional. The name of the function to call. Matches FunctionDeclaration.name.
+              "partialArgs": [ # Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.
+                { # Partial argument value of the function call.
+                  "boolValue": True or False, # Optional. Represents a boolean value.
+                  "jsonPath": "A String", # Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
+                  "nullValue": "A String", # Optional. Represents a null value.
+                  "numberValue": 3.14, # Optional. Represents a double value.
+                  "stringValue": "A String", # Optional. Represents a string value.
+                  "willContinue": True or False, # Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.
+                },
+              ],
+              "willContinue": True or False, # Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.
+            },
+            "functionResponse": { # The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a `FunctionCall` made based on model prediction. # Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted.
+              "id": "A String", # Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`.
+              "name": "A String", # Required. The name of the function to call. Matches FunctionDeclaration.name and FunctionCall.name.
+              "parts": [ # Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.
+                { # A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.
+                  "fileData": { # URI based data for function response. # URI based data.
+                    "displayName": "A String", # Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.
+                    "fileUri": "A String", # Required. URI.
+                    "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+                  },
+                  "inlineData": { # Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field. # Inline media bytes.
+                    "data": "A String", # Required. Raw bytes.
+                    "displayName": "A String", # Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.
+                    "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+                  },
+                },
+              ],
+              "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
+                "a_key": "", # Properties of the object.
+              },
+              "scheduling": "A String", # Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.
+            },
+            "inlineData": { # A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video. # Optional. The inline data content of the part. This can be used to include images, audio, or video in a request.
+              "data": "A String", # Required. The raw bytes of the data.
+              "displayName": "A String", # Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled.
+              "mimeType": "A String", # Required. The IANA standard MIME type of the source data.
+            },
+            "mediaProcessing": "A String", # Optional. How the model processes this part's media for understanding. Only meaningful for video parts (`inline_data` or `file_data` with video mime). Non-video parts ignore this field.
+            "mediaResolution": { # per part media resolution. Media resolution for the input media. # per part media resolution. Media resolution for the input media.
+              "level": "A String", # The tokenization quality used for given media.
+            },
+            "speechMetadata": { # Structured Metadata Sub-Message for Part # Optional. Turn-level metadata for speech generation (e.g. Daikon speaker/style). May be set alongside `text` to attach speaker and style information to a text part.
+              "speaker": "A String", # Optional. Identifies which speaker is speaking this turn.
+              "style": "A String", # Optional. Natural language description of the vocal style (e.g., "cheerful").
+            },
+            "text": "A String", # Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent.
+            "thought": True or False, # Optional. Indicates whether the `part` represents the model's thought process or reasoning.
+            "thoughtSignature": "A String", # Optional. An opaque signature for the thought so it can be reused in subsequent requests.
+            "videoMetadata": { # Provides metadata for a video, including the start and end offsets for clipping and the frame rate. # Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.
+              "endOffset": "A String", # Optional. The end offset of the video.
+              "fps": 3.14, # Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].
+              "startOffset": "A String", # Optional. The start offset of the video.
+            },
+          },
+        ],
+        "role": "A String", # Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.
+      },
+      "embedContentConfig": { # Configurations for the EmbedContent API. # Optional. Configuration for the EmbedContent request.
+        "audioTrackExtraction": True or False, # Optional. Whether to extract audio from video content.
+        "autoTruncate": True or False, # Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length. Only applicable to text-only embedding models.
+        "documentOcr": True or False, # Optional. Whether to enable OCR for document content.
+        "outputDimensionality": 42, # Optional. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
+        "taskType": "A String", # Optional. The task type of the embedding. Only applicable to text-only embedding models.
+        "title": "A String", # Optional. The title for the text. Only applicable to text-only embedding models.
+      },
+      "model": "A String", # Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`
+      "outputDimensionality": 42, # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
+      "taskType": "A String", # Optional. Deprecated: Please use EmbedContentConfig.task_type instead. The task type of the embedding.
+      "title": "A String", # Optional. Deprecated: Please use EmbedContentConfig.title instead. The title for the text.
+    },
+  ],
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for PredictionService.BatchEmbedContents.
+  "embeddings": [ # The embeddings for each request, in the same order as provided in the batch request.
+    { # A list of floats representing an embedding.
+      "values": [ # Embedding vector values.
+        3.14,
+      ],
+    },
+  ],
+  "usageMetadata": { # Usage metadata about the content generation request and response. This message provides a detailed breakdown of token usage and other relevant metrics. # Usage metadata about the response(s).
+    "cacheTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the cached content.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "cachedContentTokenCount": 42, # Output only. The number of tokens in the cached content that was used for this request.
+    "candidatesTokenCount": 42, # The total number of tokens in the generated candidates.
+    "candidatesTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the generated candidates.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "promptTokenCount": 42, # The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content.
+    "promptTokensDetails": [ # Output only. A detailed breakdown of the token count for each modality in the prompt.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "thoughtsTokenCount": 42, # Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable.
+    "toolUsePromptTokenCount": 42, # Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable.
+    "toolUsePromptTokensDetails": [ # Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.
+      { # Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.
+        "modality": "A String", # The modality that this token count applies to.
+        "tokenCount": 42, # The number of tokens counted for this modality.
+      },
+    ],
+    "totalTokenCount": 42, # The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.
+    "trafficType": "A String", # Output only. The traffic type for this request.
+  },
+}
+
+
close()
Close httplib2 connections.
@@ -1019,6 +1197,7 @@

Method Details

"taskType": "A String", # Optional. The task type of the embedding. Only applicable to text-only embedding models. "title": "A String", # Optional. The title for the text. Only applicable to text-only embedding models. }, + "model": "A String", # Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` "outputDimensionality": 42, # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end. "taskType": "A String", # Optional. Deprecated: Please use EmbedContentConfig.task_type instead. The task type of the embedding. "title": "A String", # Optional. Deprecated: Please use EmbedContentConfig.title instead. The title for the text. @@ -1483,6 +1662,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -2856,6 +3038,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/aiplatform_v1beta1.publishers.models.html b/docs/dyn/aiplatform_v1beta1.publishers.models.html index e3e2da84cc..fb61bc4058 100644 --- a/docs/dyn/aiplatform_v1beta1.publishers.models.html +++ b/docs/dyn/aiplatform_v1beta1.publishers.models.html @@ -1213,6 +1213,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. @@ -3504,6 +3507,9 @@

Method Details

"promptTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. "responseTemplateName": "A String", # Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. }, + "outputConfig": { # Configuration for persisting output assets to external storage. # Optional. Configuration for persisting output assets to external storage. + "outputUriPrefix": "A String", # Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes. + }, "safetySettings": [ # Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. { # A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category. "category": "A String", # Required. The harm category to be blocked. diff --git a/docs/dyn/alloydb_v1.projects.locations.clusters.instances.html b/docs/dyn/alloydb_v1.projects.locations.clusters.instances.html index 863167e8bd..a175c1b4ed 100644 --- a/docs/dyn/alloydb_v1.projects.locations.clusters.instances.html +++ b/docs/dyn/alloydb_v1.projects.locations.clusters.instances.html @@ -267,6 +267,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -485,6 +488,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -794,6 +800,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1059,6 +1068,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1266,6 +1278,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. diff --git a/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html b/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html index 965515ddc5..b0b04c9102 100644 --- a/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html +++ b/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html @@ -283,6 +283,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -521,6 +524,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -850,6 +856,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1140,6 +1149,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1367,6 +1379,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. diff --git a/docs/dyn/alloydb_v1beta.projects.locations.clusters.instances.html b/docs/dyn/alloydb_v1beta.projects.locations.clusters.instances.html index 20997d7ea0..ba2e34286f 100644 --- a/docs/dyn/alloydb_v1beta.projects.locations.clusters.instances.html +++ b/docs/dyn/alloydb_v1beta.projects.locations.clusters.instances.html @@ -283,6 +283,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -520,6 +523,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -848,6 +854,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1137,6 +1146,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. @@ -1363,6 +1375,9 @@

Method Details

"readPoolConfig": { # Configuration for a read pool instance. # Read pool instance configuration. This is required if the value of instanceType is READ_POOL. "autoScalingConfig": { # Configuration for autoscaling. # Optional. Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled. "policy": { # Policy for the autoscaler. # Policy for the MIG autoscaler. + "connectionsCount": { # Connections count policy for the autoscaler. # Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling. + "targetCount": "A String", # Optional. The target number of connections for the autoscaler to scale the instance to. + }, "coolDownPeriodSec": "A String", # The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm. "cpuUtilization": { # CPU utilization policy for the autoscaler. # CPU utilization policy for the autoscaler. "utilizationTarget": 3.14, # Target CPU utilization as a float between 0 and 1. diff --git a/docs/dyn/androidmanagement_v1.enterprises.policies.html b/docs/dyn/androidmanagement_v1.enterprises.policies.html index 3ebf7398ed..e6536e562d 100644 --- a/docs/dyn/androidmanagement_v1.enterprises.policies.html +++ b/docs/dyn/androidmanagement_v1.enterprises.policies.html @@ -215,6 +215,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -628,6 +631,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. @@ -752,6 +805,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -1165,6 +1221,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. @@ -1271,6 +1377,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -1375,6 +1484,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -1788,6 +1900,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. @@ -1903,6 +2065,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -2316,6 +2481,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. @@ -2429,6 +2644,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -2842,6 +3060,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. @@ -2971,6 +3239,9 @@

Method Details

"preferentialNetworkId": "A String", # Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. "roles": [ # Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. { # Role an app can have. + "extraCapabilities": { # Extra capabilities for a role. # Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities. + "localDeviceWipeCommand": "A String", # Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration). + }, "roleType": "A String", # Required. The type of the role an app can have. }, ], @@ -3384,6 +3655,56 @@

Method Details

"type": "A String", # The type of system update to configure. }, "tetheringConfigDisabled": True or False, # Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. + "unifiedUpdatePolicy": { # The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices. # Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here. + "rules": [ # Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed. + { # A rule as a part of the Unified Update Control policy. See rules for how this is used. + "id": "A String", # Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids. + "outcome": { # Determines how to proceed with the update. # Optional. Determines how to proceed with the update. + "outcomeType": "A String", # Optional. Determines how to proceed with the update. + }, + "predicate": { # A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true. # Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true. + "dateLowerBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "dateUpperBound": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true. + "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "daysOfWeek": [ # Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list. + "A String", + ], + "timeOfDayLowerBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true. + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "timeOfDayUpperBound": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp. # Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set). + "hours": 42, # Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. + "minutes": 42, # Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. + "nanos": 42, # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. + "seconds": 42, # Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. + }, + "updateAgeLowerBound": "A String", # Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours. + "updateAgeUpperBound": "A String", # Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours. + }, + "stages": [ # Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages. + "A String", + ], + "targets": [ # Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates. + { # A software component that can be updated. + "singleApp": { # Details of an app on Google System services. # Details of an app on Google System services. + "packageName": "A String", # Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES. + }, + "targetType": "A String", # Required. The type of software component that can be updated. + }, + ], + }, + ], + }, "uninstallAppsDisabled": True or False, # Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications "unmuteMicrophoneDisabled": True or False, # If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices. "usageLog": { # Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications). # Optional. Configuration of device activity logging. diff --git a/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.html b/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.html index fc6fe2e7d2..340bd9c0e3 100644 --- a/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.html +++ b/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.html @@ -112,7 +112,7 @@

Method Details

Deletes one or more one-time products.
 
 Args:
-  packageName: string, Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the OneTimeProduct resources. (required)
+  packageName: string, Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the requests. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -138,7 +138,7 @@ 

Method Details

Reads one or more one-time products.
 
 Args:
-  packageName: string, Required. The parent app (package name) for which the products should be retrieved. Must be equal to the package_name field on all requests. (required)
+  packageName: string, Required. The parent app (package name) for which the products should be retrieved. (required)
   productIds: string, Required. A list of up to 100 product IDs to retrieve. All IDs must be different. (repeated)
   x__xgafv: string, V1 error format.
     Allowed values
diff --git a/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.purchaseOptions.offers.html b/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.purchaseOptions.offers.html
index 9524caec84..25b0d3b9a5 100644
--- a/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.purchaseOptions.offers.html
+++ b/docs/dyn/androidpublisher_v3.monetization.onetimeproducts.purchaseOptions.offers.html
@@ -183,14 +183,14 @@ 

Method Details

Deletes one or more one-time product offers.
 
 Args:
-  packageName: string, Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the OneTimeProductOffer resources. (required)
+  packageName: string, Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the requests. (required)
   productId: string, Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to "-". (required)
-  purchaseOptionId: string, Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to update offers from multiple purchase options. (required)
+  purchaseOptionId: string, Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to delete offers from multiple purchase options. (required)
   body: object, The request body.
     The object takes the form of:
 
 { # Request message for BatchDeleteOneTimeProductOffers.
-  "requests": [ # Required. A list of update requests of up to 100 elements. All requests must correspond to different offers.
+  "requests": [ # Required. A list of delete requests of up to 100 elements. All requests must correspond to different offers.
     { # Request message for deleting an one-time product offer.
       "latencyTolerance": "A String", # Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
       "offerId": "A String", # Required. The unique offer ID of the offer to delete.
@@ -213,9 +213,9 @@ 

Method Details

Reads one or more one-time product offers.
 
 Args:
-  packageName: string, Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources. (required)
-  productId: string, Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to "-". (required)
-  purchaseOptionId: string, Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options. (required)
+  packageName: string, Required. The parent app (package name) of the offers to retrieve. Must be equal to the package_name field on all the requests. (required)
+  productId: string, Required. The product ID of the parent one-time product, if all offers belong to the same product. If this request spans multiple one-time products, set this field to "-". (required)
+  purchaseOptionId: string, Required. The parent purchase option (ID) for which the offers should be retrieved. May be specified as '-' to retrieve offers from multiple purchase options. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -239,7 +239,7 @@ 

Method Details

An object of the form: { # Response message for the BatchGetOneTimeProductOffers endpoint. - "oneTimeProductOffers": [ # The list of updated one-time product offers, in the same order as the request. + "oneTimeProductOffers": [ # The list of requested one-time product offers, in the same order as the request. { # A single offer for a one-time product. "discountedOffer": { # Configuration specific to discounted offers. # A discounted offer. "endTime": "A String", # Time when the offer will stop being available. @@ -439,7 +439,7 @@

Method Details

"productId": "A String", # Required. The parent one-time product (ID) of the offer to cancel. "purchaseOptionId": "A String", # Required. The parent purchase option (ID) of the offer to cancel. }, - "deactivateOneTimeProductOfferRequest": { # Request message for DeactivateOneTimeProductOffer. # Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers. + "deactivateOneTimeProductOfferRequest": { # Request message for DeactivateOneTimeProductOffer. # Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted and game reward offers. "latencyTolerance": "A String", # Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive. "offerId": "A String", # Required. The offer ID of the offer to deactivate. "packageName": "A String", # Required. The parent app (package name) of the offer to deactivate. @@ -667,7 +667,7 @@

Method Details

productId: string, Required. The parent one-time product (ID) for which the offers should be read. May be specified as '-' to read all offers under an app. (required) purchaseOptionId: string, Required. The parent purchase option (ID) for which the offers should be read. May be specified as '-' to read all offers under a one-time product or an app. Must be specified as '-' if product_id is specified as '-'. (required) pageSize: integer, Optional. The maximum number of offers to return. The service may return fewer than this value. If unspecified, at most 50 offers will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - pageToken: string, Optional. A page token, received from a previous `ListOneTimeProductsOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductsOffersRequest` must match the call that provided the page token. + pageToken: string, Optional. A page token, received from a previous `ListOneTimeProductOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductOffersRequest` must match the call that provided the page token. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/appengine_v1.apps.services.versions.html b/docs/dyn/appengine_v1.apps.services.versions.html index c6cc9e3fc9..e3d13d2bfd 100644 --- a/docs/dyn/appengine_v1.apps.services.versions.html +++ b/docs/dyn/appengine_v1.apps.services.versions.html @@ -329,6 +329,18 @@

Method Details

"threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. "versionUrl": "A String", # Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly "vm": True or False, # Whether to deploy this version in a container on a virtual machine. + "vpcAccess": { # VPC Access settings # Enables VPC access connectivity for standard apps. + "networkInterfaces": [ # The Direct VPC configuration. Currently only single network interface is supported. + { # Network interface key message. + "network": "A String", # Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK} + "subnet": "A String", # Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME} + "tags": [ # Optional. The network tags that will be applied to this App Engine resource. + "A String", + ], + }, + ], + "vpcEgress": "A String", # The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. + }, "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps. "egressSetting": "A String", # The egress setting for the connector, controlling what traffic is diverted through it. "name": "A String", # Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. @@ -678,6 +690,18 @@

Method Details

"threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. "versionUrl": "A String", # Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly "vm": True or False, # Whether to deploy this version in a container on a virtual machine. + "vpcAccess": { # VPC Access settings # Enables VPC access connectivity for standard apps. + "networkInterfaces": [ # The Direct VPC configuration. Currently only single network interface is supported. + { # Network interface key message. + "network": "A String", # Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK} + "subnet": "A String", # Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME} + "tags": [ # Optional. The network tags that will be applied to this App Engine resource. + "A String", + ], + }, + ], + "vpcEgress": "A String", # The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. + }, "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps. "egressSetting": "A String", # The egress setting for the connector, controlling what traffic is diverted through it. "name": "A String", # Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. @@ -922,6 +946,18 @@

Method Details

"threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. "versionUrl": "A String", # Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly "vm": True or False, # Whether to deploy this version in a container on a virtual machine. + "vpcAccess": { # VPC Access settings # Enables VPC access connectivity for standard apps. + "networkInterfaces": [ # The Direct VPC configuration. Currently only single network interface is supported. + { # Network interface key message. + "network": "A String", # Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK} + "subnet": "A String", # Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME} + "tags": [ # Optional. The network tags that will be applied to this App Engine resource. + "A String", + ], + }, + ], + "vpcEgress": "A String", # The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. + }, "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps. "egressSetting": "A String", # The egress setting for the connector, controlling what traffic is diverted through it. "name": "A String", # Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. @@ -1169,6 +1205,18 @@

Method Details

"threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. "versionUrl": "A String", # Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly "vm": True or False, # Whether to deploy this version in a container on a virtual machine. + "vpcAccess": { # VPC Access settings # Enables VPC access connectivity for standard apps. + "networkInterfaces": [ # The Direct VPC configuration. Currently only single network interface is supported. + { # Network interface key message. + "network": "A String", # Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK} + "subnet": "A String", # Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME} + "tags": [ # Optional. The network tags that will be applied to this App Engine resource. + "A String", + ], + }, + ], + "vpcEgress": "A String", # The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. + }, "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps. "egressSetting": "A String", # The egress setting for the connector, controlling what traffic is diverted through it. "name": "A String", # Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. diff --git a/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html b/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html index ab9e2ebb50..83a5259a43 100644 --- a/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html +++ b/docs/dyn/appengine_v1.projects.locations.applications.services.versions.html @@ -405,6 +405,18 @@

Method Details

"threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once. "versionUrl": "A String", # Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly "vm": True or False, # Whether to deploy this version in a container on a virtual machine. + "vpcAccess": { # VPC Access settings # Enables VPC access connectivity for standard apps. + "networkInterfaces": [ # The Direct VPC configuration. Currently only single network interface is supported. + { # Network interface key message. + "network": "A String", # Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK} + "subnet": "A String", # Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME} + "tags": [ # Optional. The network tags that will be applied to this App Engine resource. + "A String", + ], + }, + ], + "vpcEgress": "A String", # The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it. + }, "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps. "egressSetting": "A String", # The egress setting for the connector, controlling what traffic is diverted through it. "name": "A String", # Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. diff --git a/docs/dyn/assuredworkloads_v1.folders.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1.folders.locations.dbFindingSummaries.html index bfd4ae5c30..ce9e4c47cd 100644 --- a/docs/dyn/assuredworkloads_v1.folders.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1.folders.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index 5e4c8706b1..a7ea13d07f 100644 --- a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.html index 167c6bc459..3fae08c725 100644 --- a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceSummaries.html index 973fea3fcc..b67f4644cf 100644 --- a/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.folders.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFindingSummaries.html index c0118ce302..2e7de39591 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index b891bc7582..149f297515 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.html index cf79e9a1fb..047457eac8 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceSummaries.html index 1d4348aac9..08f48a51d8 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html index dbe1c7c64b..3893af2c2f 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html @@ -82,7 +82,7 @@

Instance Methods

Close httplib2 connections.

get(name, view=None, x__xgafv=None)

-

Retrieves Assured Workload Violation based on ID.

+

Retrieves an Assured Workloads violation by its resource name.

list(parent, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`

@@ -95,15 +95,15 @@

Method Details

Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.
 
 Args:
-  name: string, Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} (required)
+  name: string, Required. The resource name of the violation to acknowledge. Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}` (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Request for acknowledging the violation
-  "acknowledgeType": "A String", # Optional. Acknowledge type of specified violation.
-  "comment": "A String", # Required. Business justification explaining the need for violation acknowledgement
-  "nonCompliantOrgPolicy": "A String", # Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
-  "view": "A String", # Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for acknowledging violations.
+{ # Request message for acknowledging a violation.
+  "acknowledgeType": "A String", # Optional. The scope of the acknowledgement for the specified violation. If not specified, `SINGLE_VIOLATION` is used.
+  "comment": "A String", # Required. The business justification for acknowledging the violation. The comment can't be empty or contain only whitespace characters.
+  "nonCompliantOrgPolicy": "A String", # Optional. Deprecated: This field is deprecated and will be removed in a future version of the API. The service identifies the violation to acknowledge by `name`, and ignores this field. Don't set this field. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`
+  "view": "A String", # Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
 }
 
   x__xgafv: string, V1 error format.
@@ -114,7 +114,7 @@ 

Method Details

Returns: An object of the form: - { # Response for violation acknowledgement + { # Response message for acknowledging a violation. This message is empty. }
@@ -125,11 +125,11 @@

Method Details

get(name, view=None, x__xgafv=None) -
Retrieves Assured Workload Violation based on ID.
+  
Retrieves an Assured Workloads violation by its resource name.
 
 Args:
-  name: string, Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} (required)
-  view: string, Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for fetching violations.
+  name: string, Required. The resource name of the violation to retrieve (that is, the value of `Violation.name`). Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}` (required)
+  view: string, Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
     Allowed values
       VIOLATION_VIEW_UNSPECIFIED - Defaults to the ASSURED_WORKLOADS view.
       VIOLATION_VIEW_ASSURED_WORKLOADS - Includes the basic metadata about the violation.
@@ -142,67 +142,67 @@ 

Method Details

Returns: An object of the form: - { # Workload monitoring Violation. - "acknowledged": True or False, # A boolean that indicates if the violation is acknowledged - "acknowledgementTime": "A String", # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false. - "affectedFrameworks": [ # Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "FedRAMP High", "NIST 800-53". + { # A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework. + "acknowledged": True or False, # Whether the violation has been acknowledged. + "acknowledgementTime": "A String", # Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`. + "affectedFrameworks": [ # Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. "A String", ], - "associatedOrgPolicyViolationId": "A String", # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations. - "auditLogLink": "A String", # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} - "beginTime": "A String", # Output only. Time of the event which triggered the Violation. - "category": "A String", # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc. - "childResourceViolationCount": 42, # Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation. - "description": "A String", # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value. - "exceptionAuditLogLink": "A String", # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization} - "exceptionContexts": [ # Output only. List of all the exception detail added for the violation. - { # Violation exception detail. - "acknowledgementTime": "A String", # Timestamp when the violation was acknowledged. - "comment": "A String", # Business justification provided towards the acknowledgement of the violation. - "userName": "A String", # Name of the user (or service account) who acknowledged the violation. + "associatedOrgPolicyViolationId": "A String", # Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations. + "auditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}` + "beginTime": "A String", # Output only. The time of the event that triggered the violation. + "category": "A String", # Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`. + "childResourceViolationCount": 42, # Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations. + "description": "A String", # Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.` + "exceptionAuditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}` + "exceptionContexts": [ # Output only. The details of all of the acknowledgements (exceptions) for the violation. + { # Details about an acknowledgement (exception) of a violation. + "acknowledgementTime": "A String", # The time when the violation was acknowledged. + "comment": "A String", # The business justification that was provided when the violation was acknowledged. + "userName": "A String", # The name of the user (or service account) who acknowledged the violation. }, ], - "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} - "nonCompliantOrgPolicy": "A String", # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name} - "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. - "parentProjectNumber": "A String", # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations. - "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation - "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values + "name": "A String", # Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}` + "nonCompliantOrgPolicy": "A String", # Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` + "orgPolicyConstraint": "A String", # Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation. + "parentProjectNumber": "A String", # Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations. + "remediation": { # Remediation guidance to resolve a compliance violation. # Output only. The remediation guidance for the violation. + "compliantValues": [ # The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values. "A String", ], - "instructions": { # Instructions to remediate violation # Required. Remediation instructions to resolve violations - "consoleInstructions": { # Remediation instructions to resolve violation via cloud console # Remediation instructions to resolve violation via cloud console - "additionalLinks": [ # Additional urls for more information about steps + "instructions": { # Instructions to remediate a violation. # Required. The instructions to resolve the violation. + "consoleInstructions": { # Instructions to remediate a violation by using the Google Cloud console. # Instructions to resolve the violation by using the Google Cloud console. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "consoleUris": [ # Link to console page where violations can be resolved + "consoleUris": [ # Links to the Google Cloud console pages where the violation can be resolved. "A String", ], - "steps": [ # Steps to resolve violation via cloud console + "steps": [ # The steps to resolve the violation by using the Google Cloud console. "A String", ], }, - "gcloudInstructions": { # Remediation instructions to resolve violation via gcloud cli # Remediation instructions to resolve violation via gcloud cli - "additionalLinks": [ # Additional urls for more information about steps + "gcloudInstructions": { # Instructions to remediate a violation by using the Google Cloud CLI. # Instructions to resolve the violation by using the gcloud CLI. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "gcloudCommands": [ # Gcloud command to resolve violation + "gcloudCommands": [ # The gcloud CLI commands that resolve the violation. "A String", ], - "steps": [ # Steps to resolve violation via gcloud cli + "steps": [ # The steps to resolve the violation by using the gcloud CLI. "A String", ], }, }, - "remediationType": "A String", # Output only. Reemediation type based on the type of org policy values violated + "remediationType": "A String", # Output only. The remediation type, which is based on the type of organization policy values that were violated. }, - "remediationMarkdown": "A String", # Output only. Contains the remediation instructions for the violation in markdown format. - "resolveTime": "A String", # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty. - "resourceName": "A String", # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations. - "resourceType": "A String", # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations. - "state": "A String", # Output only. State of the violation - "updateTime": "A String", # Output only. The last time when the Violation record was updated. - "violationType": "A String", # Output only. Type of the violation + "remediationMarkdown": "A String", # Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead. + "resolveTime": "A String", # Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved. + "resourceName": "A String", # Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations. + "resourceType": "A String", # Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations. + "state": "A String", # Output only. The state of the violation. + "updateTime": "A String", # Output only. The time when the violation record was last updated. + "violationType": "A String", # Output only. The type of the violation. }
@@ -211,14 +211,14 @@

Method Details

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`
 
 Args:
-  parent: string, Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`. (required)
-  filter: string, Optional. A custom filter for filtering by the Violations properties.
+  parent: string, Required. The workload to list violations for. To list violations across all workloads in an organization, use `-` as the workload ID. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, violations are listed for the entire organization and location, and the workload ID is ignored. Format: `organizations/{organization}/locations/{location}/workloads/{workload}` (required)
+  filter: string, Optional. A filter expression that restricts the violations that are returned. The syntax follows [AIP-160](https://google.aip.dev/160). Only the equality operator (`=`) is supported, and expressions can be combined with `AND`, `OR`, and `NOT`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `violationId`, `category`, `state` (`UNRESOLVED`, `RESOLVED`, or `EXCEPTION`), `violationType` (`ORG_POLICY` or `RESOURCE`), `resourceType`, `resourceName`, `project`, `associatedOrgPolicyViolationId`, `cloudControlName`, `workloadDisplayName`, and `complianceType` (a framework ID). Example: `state = "UNRESOLVED" AND complianceType = "builtin-fedramp-high"`
   interval_endTime: string, The end of the time window.
   interval_startTime: string, The start of the time window.
-  orderBy: string, Optional. Actionable sorting delegation.
-  pageSize: integer, Optional. Page size.
-  pageToken: string, Optional. Page token returned from previous request.
-  view: string, Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for fetching violations.
+  orderBy: string, Optional. A comma-separated list of fields to sort the results by. The default sort order is ascending; to sort in descending order, append ` desc` to the field name. For example, `update_time desc,category`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `begin_time`, `update_time`, `resource_type`, `state`, and `category`. If not specified, results are sorted by `begin_time` in descending order.
+  pageSize: integer, Optional. The maximum number of violations to return. The service might return fewer violations than this value. If unspecified, at most 100 violations are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
+  pageToken: string, Optional. A page token, received from a previous `ListViolations` call. Provide this token to retrieve the subsequent page. When paginating, all other parameters that are provided to `ListViolations` must match the call that provided the page token.
+  view: string, Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) to list violations for. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
     Allowed values
       VIOLATION_VIEW_UNSPECIFIED - Defaults to the ASSURED_WORKLOADS view.
       VIOLATION_VIEW_ASSURED_WORKLOADS - Includes the basic metadata about the violation.
@@ -231,71 +231,71 @@ 

Method Details

Returns: An object of the form: - { # Response of ListViolations endpoint. - "nextPageToken": "A String", # The next page token. Returns empty if reached the last page. - "totalSize": 42, # The total number of violations. - "violations": [ # List of Violations under a Workload. - { # Workload monitoring Violation. - "acknowledged": True or False, # A boolean that indicates if the violation is acknowledged - "acknowledgementTime": "A String", # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false. - "affectedFrameworks": [ # Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "FedRAMP High", "NIST 800-53". + { # Response message for the `ListViolations` method. + "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. + "totalSize": 42, # The total number of violations that match the request, across all pages. This field might not be populated for all requests; when it's not populated, its value is `0`. + "violations": [ # The list of violations. + { # A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework. + "acknowledged": True or False, # Whether the violation has been acknowledged. + "acknowledgementTime": "A String", # Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`. + "affectedFrameworks": [ # Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. "A String", ], - "associatedOrgPolicyViolationId": "A String", # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations. - "auditLogLink": "A String", # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} - "beginTime": "A String", # Output only. Time of the event which triggered the Violation. - "category": "A String", # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc. - "childResourceViolationCount": 42, # Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation. - "description": "A String", # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value. - "exceptionAuditLogLink": "A String", # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization} - "exceptionContexts": [ # Output only. List of all the exception detail added for the violation. - { # Violation exception detail. - "acknowledgementTime": "A String", # Timestamp when the violation was acknowledged. - "comment": "A String", # Business justification provided towards the acknowledgement of the violation. - "userName": "A String", # Name of the user (or service account) who acknowledged the violation. + "associatedOrgPolicyViolationId": "A String", # Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations. + "auditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}` + "beginTime": "A String", # Output only. The time of the event that triggered the violation. + "category": "A String", # Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`. + "childResourceViolationCount": 42, # Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations. + "description": "A String", # Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.` + "exceptionAuditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}` + "exceptionContexts": [ # Output only. The details of all of the acknowledgements (exceptions) for the violation. + { # Details about an acknowledgement (exception) of a violation. + "acknowledgementTime": "A String", # The time when the violation was acknowledged. + "comment": "A String", # The business justification that was provided when the violation was acknowledged. + "userName": "A String", # The name of the user (or service account) who acknowledged the violation. }, ], - "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} - "nonCompliantOrgPolicy": "A String", # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name} - "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. - "parentProjectNumber": "A String", # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations. - "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation - "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values + "name": "A String", # Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}` + "nonCompliantOrgPolicy": "A String", # Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` + "orgPolicyConstraint": "A String", # Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation. + "parentProjectNumber": "A String", # Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations. + "remediation": { # Remediation guidance to resolve a compliance violation. # Output only. The remediation guidance for the violation. + "compliantValues": [ # The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values. "A String", ], - "instructions": { # Instructions to remediate violation # Required. Remediation instructions to resolve violations - "consoleInstructions": { # Remediation instructions to resolve violation via cloud console # Remediation instructions to resolve violation via cloud console - "additionalLinks": [ # Additional urls for more information about steps + "instructions": { # Instructions to remediate a violation. # Required. The instructions to resolve the violation. + "consoleInstructions": { # Instructions to remediate a violation by using the Google Cloud console. # Instructions to resolve the violation by using the Google Cloud console. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "consoleUris": [ # Link to console page where violations can be resolved + "consoleUris": [ # Links to the Google Cloud console pages where the violation can be resolved. "A String", ], - "steps": [ # Steps to resolve violation via cloud console + "steps": [ # The steps to resolve the violation by using the Google Cloud console. "A String", ], }, - "gcloudInstructions": { # Remediation instructions to resolve violation via gcloud cli # Remediation instructions to resolve violation via gcloud cli - "additionalLinks": [ # Additional urls for more information about steps + "gcloudInstructions": { # Instructions to remediate a violation by using the Google Cloud CLI. # Instructions to resolve the violation by using the gcloud CLI. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "gcloudCommands": [ # Gcloud command to resolve violation + "gcloudCommands": [ # The gcloud CLI commands that resolve the violation. "A String", ], - "steps": [ # Steps to resolve violation via gcloud cli + "steps": [ # The steps to resolve the violation by using the gcloud CLI. "A String", ], }, }, - "remediationType": "A String", # Output only. Reemediation type based on the type of org policy values violated + "remediationType": "A String", # Output only. The remediation type, which is based on the type of organization policy values that were violated. }, - "remediationMarkdown": "A String", # Output only. Contains the remediation instructions for the violation in markdown format. - "resolveTime": "A String", # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty. - "resourceName": "A String", # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations. - "resourceType": "A String", # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations. - "state": "A String", # Output only. State of the violation - "updateTime": "A String", # Output only. The last time when the Violation record was updated. - "violationType": "A String", # Output only. Type of the violation + "remediationMarkdown": "A String", # Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead. + "resolveTime": "A String", # Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved. + "resourceName": "A String", # Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations. + "resourceType": "A String", # Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations. + "state": "A String", # Output only. The state of the violation. + "updateTime": "A String", # Output only. The time when the violation record was last updated. + "violationType": "A String", # Output only. The type of the violation. }, ], }
diff --git a/docs/dyn/assuredworkloads_v1.projects.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1.projects.locations.dbFindingSummaries.html index e18362887b..e6f2fde809 100644 --- a/docs/dyn/assuredworkloads_v1.projects.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1.projects.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index 55b0102930..0810ca38ac 100644 --- a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.html index 6a2a2fd97a..5f07618fab 100644 --- a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceSummaries.html index 2b237d1059..69f81139e3 100644 --- a/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1.projects.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFindingSummaries.html index 7a38fc8f7a..53671ca8c6 100644 --- a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index 2dd0cd3e9a..89463c7b87 100644 --- a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.html index e915af25a6..d0bca89df3 100644 --- a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceSummaries.html index 6dda30d278..022c41aa9e 100644 --- a/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.folders.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFindingSummaries.html index 9cef6ea61d..ba933dd108 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index e0d55aed54..7463c77aa8 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.html index 0de86bb011..558a24582c 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceSummaries.html index a033e2ae8b..7dac2d4512 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html index b2cd9b33a5..5e50004d32 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html @@ -82,7 +82,7 @@

Instance Methods

Close httplib2 connections.

get(name, view=None, x__xgafv=None)

-

Retrieves Assured Workload Violation based on ID.

+

Retrieves an Assured Workloads violation by its resource name.

list(parent, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`

@@ -95,15 +95,15 @@

Method Details

Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.
 
 Args:
-  name: string, Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} (required)
+  name: string, Required. The resource name of the violation to acknowledge. Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}` (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Request for acknowledging the violation
-  "acknowledgeType": "A String", # Optional. Acknowledge type of specified violation.
-  "comment": "A String", # Required. Business justification explaining the need for violation acknowledgement
-  "nonCompliantOrgPolicy": "A String", # Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
-  "view": "A String", # Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for acknowledging violations.
+{ # Request message for acknowledging a violation.
+  "acknowledgeType": "A String", # Optional. The scope of the acknowledgement for the specified violation. If not specified, `SINGLE_VIOLATION` is used.
+  "comment": "A String", # Required. The business justification for acknowledging the violation. The comment can't be empty or contain only whitespace characters.
+  "nonCompliantOrgPolicy": "A String", # Optional. Deprecated: This field is deprecated and will be removed in a future version of the API. The service identifies the violation to acknowledge by `name`, and ignores this field. Don't set this field. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`
+  "view": "A String", # Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
 }
 
   x__xgafv: string, V1 error format.
@@ -114,7 +114,7 @@ 

Method Details

Returns: An object of the form: - { # Response for violation acknowledgement + { # Response message for acknowledging a violation. This message is empty. }
@@ -125,11 +125,11 @@

Method Details

get(name, view=None, x__xgafv=None) -
Retrieves Assured Workload Violation based on ID.
+  
Retrieves an Assured Workloads violation by its resource name.
 
 Args:
-  name: string, Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} (required)
-  view: string, Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for fetching violations.
+  name: string, Required. The resource name of the violation to retrieve (that is, the value of `Violation.name`). Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}` (required)
+  view: string, Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
     Allowed values
       VIOLATION_VIEW_UNSPECIFIED - Defaults to the ASSURED_WORKLOADS view.
       VIOLATION_VIEW_ASSURED_WORKLOADS - Includes the basic metadata about the violation.
@@ -142,67 +142,67 @@ 

Method Details

Returns: An object of the form: - { # Workload monitoring Violation. - "acknowledged": True or False, # A boolean that indicates if the violation is acknowledged - "acknowledgementTime": "A String", # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false. - "affectedFrameworks": [ # Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "FedRAMP High", "NIST 800-53". + { # A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework. + "acknowledged": True or False, # Whether the violation has been acknowledged. + "acknowledgementTime": "A String", # Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`. + "affectedFrameworks": [ # Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. "A String", ], - "associatedOrgPolicyViolationId": "A String", # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations. - "auditLogLink": "A String", # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} - "beginTime": "A String", # Output only. Time of the event which triggered the Violation. - "category": "A String", # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc. - "childResourceViolationCount": 42, # Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation. - "description": "A String", # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value. - "exceptionAuditLogLink": "A String", # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization} - "exceptionContexts": [ # Output only. List of all the exception detail added for the violation. - { # Violation exception detail. - "acknowledgementTime": "A String", # Timestamp when the violation was acknowledged. - "comment": "A String", # Business justification provided towards the acknowledgement of the violation. - "userName": "A String", # Name of the user (or service account) who acknowledged the violation. + "associatedOrgPolicyViolationId": "A String", # Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations. + "auditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}` + "beginTime": "A String", # Output only. The time of the event that triggered the violation. + "category": "A String", # Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`. + "childResourceViolationCount": 42, # Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations. + "description": "A String", # Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.` + "exceptionAuditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}` + "exceptionContexts": [ # Output only. The details of all of the acknowledgements (exceptions) for the violation. + { # Details about an acknowledgement (exception) of a violation. + "acknowledgementTime": "A String", # The time when the violation was acknowledged. + "comment": "A String", # The business justification that was provided when the violation was acknowledged. + "userName": "A String", # The name of the user (or service account) who acknowledged the violation. }, ], - "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} - "nonCompliantOrgPolicy": "A String", # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name} - "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. - "parentProjectNumber": "A String", # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations. - "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation - "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values + "name": "A String", # Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}` + "nonCompliantOrgPolicy": "A String", # Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` + "orgPolicyConstraint": "A String", # Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation. + "parentProjectNumber": "A String", # Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations. + "remediation": { # Remediation guidance to resolve a compliance violation. # Output only. The remediation guidance for the violation. + "compliantValues": [ # The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values. "A String", ], - "instructions": { # Instructions to remediate violation # Required. Remediation instructions to resolve violations - "consoleInstructions": { # Remediation instructions to resolve violation via cloud console # Remediation instructions to resolve violation via cloud console - "additionalLinks": [ # Additional urls for more information about steps + "instructions": { # Instructions to remediate a violation. # Required. The instructions to resolve the violation. + "consoleInstructions": { # Instructions to remediate a violation by using the Google Cloud console. # Instructions to resolve the violation by using the Google Cloud console. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "consoleUris": [ # Link to console page where violations can be resolved + "consoleUris": [ # Links to the Google Cloud console pages where the violation can be resolved. "A String", ], - "steps": [ # Steps to resolve violation via cloud console + "steps": [ # The steps to resolve the violation by using the Google Cloud console. "A String", ], }, - "gcloudInstructions": { # Remediation instructions to resolve violation via gcloud cli # Remediation instructions to resolve violation via gcloud cli - "additionalLinks": [ # Additional urls for more information about steps + "gcloudInstructions": { # Instructions to remediate a violation by using the Google Cloud CLI. # Instructions to resolve the violation by using the gcloud CLI. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "gcloudCommands": [ # Gcloud command to resolve violation + "gcloudCommands": [ # The gcloud CLI commands that resolve the violation. "A String", ], - "steps": [ # Steps to resolve violation via gcloud cli + "steps": [ # The steps to resolve the violation by using the gcloud CLI. "A String", ], }, }, - "remediationType": "A String", # Output only. Reemediation type based on the type of org policy values violated + "remediationType": "A String", # Output only. The remediation type, which is based on the type of organization policy values that were violated. }, - "remediationMarkdown": "A String", # Output only. Contains the remediation instructions for the violation in markdown format. - "resolveTime": "A String", # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty. - "resourceName": "A String", # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations. - "resourceType": "A String", # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations. - "state": "A String", # Output only. State of the violation - "updateTime": "A String", # Output only. The last time when the Violation record was updated. - "violationType": "A String", # Output only. Type of the violation + "remediationMarkdown": "A String", # Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead. + "resolveTime": "A String", # Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved. + "resourceName": "A String", # Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations. + "resourceType": "A String", # Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations. + "state": "A String", # Output only. The state of the violation. + "updateTime": "A String", # Output only. The time when the violation record was last updated. + "violationType": "A String", # Output only. The type of the violation. }
@@ -211,14 +211,14 @@

Method Details

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`
 
 Args:
-  parent: string, Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`. (required)
-  filter: string, Optional. A custom filter for filtering by the Violations properties.
+  parent: string, Required. The workload to list violations for. To list violations across all workloads in an organization, use `-` as the workload ID. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, violations are listed for the entire organization and location, and the workload ID is ignored. Format: `organizations/{organization}/locations/{location}/workloads/{workload}` (required)
+  filter: string, Optional. A filter expression that restricts the violations that are returned. The syntax follows [AIP-160](https://google.aip.dev/160). Only the equality operator (`=`) is supported, and expressions can be combined with `AND`, `OR`, and `NOT`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `violationId`, `category`, `state` (`UNRESOLVED`, `RESOLVED`, or `EXCEPTION`), `violationType` (`ORG_POLICY` or `RESOURCE`), `resourceType`, `resourceName`, `project`, `associatedOrgPolicyViolationId`, `cloudControlName`, `workloadDisplayName`, and `complianceType` (a framework ID). Example: `state = "UNRESOLVED" AND complianceType = "builtin-fedramp-high"`
   interval_endTime: string, The end of the time window.
   interval_startTime: string, The start of the time window.
-  orderBy: string, Optional. Actionable sorting delegation.
-  pageSize: integer, Optional. Page size.
-  pageToken: string, Optional. Page token returned from previous request.
-  view: string, Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for fetching violations.
+  orderBy: string, Optional. A comma-separated list of fields to sort the results by. The default sort order is ascending; to sort in descending order, append ` desc` to the field name. For example, `update_time desc,category`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `begin_time`, `update_time`, `resource_type`, `state`, and `category`. If not specified, results are sorted by `begin_time` in descending order.
+  pageSize: integer, Optional. The maximum number of violations to return. The service might return fewer violations than this value. If unspecified, at most 100 violations are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
+  pageToken: string, Optional. A page token, received from a previous `ListViolations` call. Provide this token to retrieve the subsequent page. When paginating, all other parameters that are provided to `ListViolations` must match the call that provided the page token.
+  view: string, Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) to list violations for. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.
     Allowed values
       VIOLATION_VIEW_UNSPECIFIED - Defaults to the ASSURED_WORKLOADS view.
       VIOLATION_VIEW_ASSURED_WORKLOADS - Includes the basic metadata about the violation.
@@ -231,71 +231,71 @@ 

Method Details

Returns: An object of the form: - { # Response of ListViolations endpoint. - "nextPageToken": "A String", # The next page token. Returns empty if reached the last page. - "totalSize": 42, # The total number of violations. - "violations": [ # List of Violations under a Workload. - { # Workload monitoring Violation. - "acknowledged": True or False, # A boolean that indicates if the violation is acknowledged - "acknowledgementTime": "A String", # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false. - "affectedFrameworks": [ # Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. "FedRAMP High", "NIST 800-53". + { # Response message for the `ListViolations` method. + "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. + "totalSize": 42, # The total number of violations that match the request, across all pages. This field might not be populated for all requests; when it's not populated, its value is `0`. + "violations": [ # The list of violations. + { # A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework. + "acknowledged": True or False, # Whether the violation has been acknowledged. + "acknowledgementTime": "A String", # Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`. + "affectedFrameworks": [ # Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. "A String", ], - "associatedOrgPolicyViolationId": "A String", # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations. - "auditLogLink": "A String", # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} - "beginTime": "A String", # Output only. Time of the event which triggered the Violation. - "category": "A String", # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc. - "childResourceViolationCount": 42, # Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation. - "description": "A String", # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value. - "exceptionAuditLogLink": "A String", # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization} - "exceptionContexts": [ # Output only. List of all the exception detail added for the violation. - { # Violation exception detail. - "acknowledgementTime": "A String", # Timestamp when the violation was acknowledged. - "comment": "A String", # Business justification provided towards the acknowledgement of the violation. - "userName": "A String", # Name of the user (or service account) who acknowledged the violation. + "associatedOrgPolicyViolationId": "A String", # Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations. + "auditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}` + "beginTime": "A String", # Output only. The time of the event that triggered the violation. + "category": "A String", # Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`. + "childResourceViolationCount": 42, # Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations. + "description": "A String", # Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.` + "exceptionAuditLogLink": "A String", # Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}` + "exceptionContexts": [ # Output only. The details of all of the acknowledgements (exceptions) for the violation. + { # Details about an acknowledgement (exception) of a violation. + "acknowledgementTime": "A String", # The time when the violation was acknowledged. + "comment": "A String", # The business justification that was provided when the violation was acknowledged. + "userName": "A String", # The name of the user (or service account) who acknowledged the violation. }, ], - "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} - "nonCompliantOrgPolicy": "A String", # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name} - "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. - "parentProjectNumber": "A String", # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations. - "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation - "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values + "name": "A String", # Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}` + "nonCompliantOrgPolicy": "A String", # Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` + "orgPolicyConstraint": "A String", # Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation. + "parentProjectNumber": "A String", # Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations. + "remediation": { # Remediation guidance to resolve a compliance violation. # Output only. The remediation guidance for the violation. + "compliantValues": [ # The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values. "A String", ], - "instructions": { # Instructions to remediate violation # Required. Remediation instructions to resolve violations - "consoleInstructions": { # Remediation instructions to resolve violation via cloud console # Remediation instructions to resolve violation via cloud console - "additionalLinks": [ # Additional urls for more information about steps + "instructions": { # Instructions to remediate a violation. # Required. The instructions to resolve the violation. + "consoleInstructions": { # Instructions to remediate a violation by using the Google Cloud console. # Instructions to resolve the violation by using the Google Cloud console. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "consoleUris": [ # Link to console page where violations can be resolved + "consoleUris": [ # Links to the Google Cloud console pages where the violation can be resolved. "A String", ], - "steps": [ # Steps to resolve violation via cloud console + "steps": [ # The steps to resolve the violation by using the Google Cloud console. "A String", ], }, - "gcloudInstructions": { # Remediation instructions to resolve violation via gcloud cli # Remediation instructions to resolve violation via gcloud cli - "additionalLinks": [ # Additional urls for more information about steps + "gcloudInstructions": { # Instructions to remediate a violation by using the Google Cloud CLI. # Instructions to resolve the violation by using the gcloud CLI. + "additionalLinks": [ # Additional URLs with more information about the steps. "A String", ], - "gcloudCommands": [ # Gcloud command to resolve violation + "gcloudCommands": [ # The gcloud CLI commands that resolve the violation. "A String", ], - "steps": [ # Steps to resolve violation via gcloud cli + "steps": [ # The steps to resolve the violation by using the gcloud CLI. "A String", ], }, }, - "remediationType": "A String", # Output only. Reemediation type based on the type of org policy values violated + "remediationType": "A String", # Output only. The remediation type, which is based on the type of organization policy values that were violated. }, - "remediationMarkdown": "A String", # Output only. Contains the remediation instructions for the violation in markdown format. - "resolveTime": "A String", # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty. - "resourceName": "A String", # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations. - "resourceType": "A String", # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations. - "state": "A String", # Output only. State of the violation - "updateTime": "A String", # Output only. The last time when the Violation record was updated. - "violationType": "A String", # Output only. Type of the violation + "remediationMarkdown": "A String", # Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead. + "resolveTime": "A String", # Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved. + "resourceName": "A String", # Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations. + "resourceType": "A String", # Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations. + "state": "A String", # Output only. The state of the violation. + "updateTime": "A String", # Output only. The time when the violation record was last updated. + "violationType": "A String", # Output only. The type of the violation. }, ], }
diff --git a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFindingSummaries.html b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFindingSummaries.html index 63f8ffd200..4dc8524b19 100644 --- a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFindingSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFindingSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the finding summary by category for a given scope.

+

Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the finding summary by category for a given scope.
+  
Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -107,22 +107,22 @@ 

Method Details

An object of the form: { # The response message for ListDbFindingSummaries. - "dbFindingSummaries": [ # List of finding summary by category. - { # The details for a finding. - "findingCategory": "A String", # Output only. The category of the finding. - "findingClass": "A String", # Output only. The class of the finding. - "findingCount": "A String", # Output only. The count of the finding. - "name": "A String", # Identifier. The name of the finding summary. - "organizationPolicyFindingCount": "A String", # Output only. Number of active organization policy findings for this category. - "relatedFrameworks": [ # Optional. The list of compliance frameworks that the finding belongs to. + "dbFindingSummaries": [ # The list of finding summaries, one for each finding category. + { # A summary of the active findings for a finding category in a Data Boundary scope. + "findingCategory": "A String", # Output only. The category of the findings that are summarized. + "findingClass": "A String", # Output only. The class of the findings. + "findingCount": "A String", # Output only. The total number of active findings in the category. + "name": "A String", # Identifier. The resource name of the finding summary. + "organizationPolicyFindingCount": "A String", # Output only. The number of active organization policy findings in the category. + "relatedFrameworks": [ # Optional. The display names of the compliance frameworks that the findings are related to. "A String", ], - "resourceFindingCount": "A String", # Output only. Number of active resource findings for this category. - "severity": "A String", # Output only. The severity of the finding. - "updateTime": "A String", # Output only. The last updated time of the finding. + "resourceFindingCount": "A String", # Output only. The number of active resource findings in the category. + "severity": "A String", # Output only. The severity of the findings. + "updateTime": "A String", # Output only. The time when the findings in the category were last updated. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html index 3abeed4c21..f66555bb6a 100644 --- a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists the control compliance summary for a given scope.

+

Lists the compliance summaries of the controls in a framework compliance report.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,13 +91,13 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists the control compliance summary for a given scope.
+  
Lists the compliance summaries of the controls in a framework compliance report.
 
 Args:
-  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,9 +106,9 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDBControlComplianceSummaries. - "dbControlComplianceSummaries": [ # The list of control compliance details. - { # The details for control compliance. + { # The response message for ListDbControlComplianceSummaries. + "dbControlComplianceSummaries": [ # The list of control compliance summaries. + { # A summary of the compliance status of a control in a framework compliance report. "cloudControlReports": [ # The list of cloud control reports. { # The cloud control report. "categories": [ # The list of categories for the cloud control. @@ -170,7 +170,7 @@

Method Details

"description": "A String", # The description of the control. "displayName": "A String", # The display name of the control. "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. - "name": "A String", # Identifier. The name of the control compliance summary. + "name": "A String", # Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` "orgPolicyFindingCount": "A String", # Output only. Number of organization policy findings for this control. "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control. "resourceFindingCount": "A String", # Output only. Number of resource findings for this control. @@ -183,7 +183,7 @@

Method Details

"totalFindingsCount": 42, # The total number of findings for the control. }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.html b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.html index 16a2d4de7e..af08da0791 100644 --- a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.html +++ b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceReports.html @@ -81,21 +81,21 @@

Instance Methods

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None)

-

Gets the aggregated compliance report over time for a given scope.

+

Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.

close()

Close httplib2 connections.

fetch(name, endTime=None, filter=None, x__xgafv=None)

-

Fetches the framework compliance report for a given scope.

+

Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.

Method Details

aggregate(name, filter=None, interval_endTime=None, interval_startTime=None, x__xgafv=None) -
Gets the aggregated compliance report over time for a given scope.
+  
Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.
 
 Args:
-  name: string, Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  filter: string, Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).
   interval_endTime: string, Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
   interval_startTime: string, Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
   x__xgafv: string, V1 error format.
@@ -107,9 +107,9 @@ 

Method Details

An object of the form: { # The response message for AggregateDbFrameworkComplianceReport. - "aggregatedComplianceReports": [ # The list of aggregated compliance reports. - { # The aggregated compliance report. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "aggregatedComplianceReports": [ # The daily compliance reports for the requested time range. + { # A point-in-time compliance report for a framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework at `report_time`. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -127,7 +127,7 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "reportTime": "A String", # The report time of the aggregated compliance report. + "reportTime": "A String", # The time that the compliance report represents. }, ], }
@@ -140,12 +140,12 @@

Method Details

fetch(name, endTime=None, filter=None, x__xgafv=None) -
Fetches the framework compliance report for a given scope.
+  
Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.
 
 Args:
-  name: string, Required. The name of the framework compliance report to retrieve. (required)
-  endTime: string, Optional. The end time of the report.
-  filter: string, Optional. The filtering results.
+  name: string, Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` (required)
+  endTime: string, Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -155,7 +155,7 @@ 

Method Details

An object of the form: { # The response message for FetchDbFrameworkComplianceReport. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -173,20 +173,20 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported. + "framework": "A String", # The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. + "frameworkCategories": [ # The categories of the framework. "A String", ], "frameworkDescription": "A String", # The description of the framework. - "frameworkDisplayName": "A String", # Optional. The display name for the framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The latest major revision ID of the framework. "minorRevisionId": "A String", # The latest minor revision ID of the latest major revision of the framework. - "name": "A String", # The name of the framework compliance report. - "supportedCloudProviders": [ # The list of cloud providers that are supported by the framework. + "name": "A String", # The resource name of the framework compliance report. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details of the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -197,7 +197,7 @@

Method Details

"updateTime": "A String", # The update time of the target resource. }, ], - "updateTime": "A String", # Output only. The last updated time of the report. + "updateTime": "A String", # Output only. The time when the report was last updated. }
diff --git a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceSummaries.html b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceSummaries.html index 82e927b188..142d0a271b 100644 --- a/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceSummaries.html +++ b/docs/dyn/assuredworkloads_v1beta1.projects.locations.dbFrameworkComplianceSummaries.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)

-

Lists the framework compliance summary for a given scope.

+

Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -91,14 +91,14 @@

Method Details

list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None) -
Lists the framework compliance summary for a given scope.
+  
Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).
 
 Args:
-  parent: string, Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location} (required)
-  filter: string, Optional. The filtering results.
+  parent: string, Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` (required)
+  filter: string, Optional. A filter expression that restricts the results. Reserved for future use.
   pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
-  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.
-  view: string, Optional. Specifies the level of detail to return in the response.
+  pageToken: string, Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.
+  view: string, Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.
     Allowed values
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view.
       FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC - Includes basic compliance metadata, but omits trend data.
@@ -111,10 +111,10 @@ 

Method Details

Returns: An object of the form: - { # The response message for ListDbFrameworkComplianceSummariesResponse. + { # The response message for ListDbFrameworkComplianceSummaries. "dbFrameworkComplianceSummaries": [ # The list of framework compliance summaries. - { # The details for a framework compliance summary. - "controlAssessmentDetails": { # The details for a control assessment. # The control assessment details of the framework. + { # A summary of the compliance status of a framework that's deployed in a Data Boundary scope. + "controlAssessmentDetails": { # The details for a control assessment. # The number of passing, failing, and not assessed controls in the framework. "assessedPassingControlIds": [ # The list of controls that were assessed and are passing. "A String", ], @@ -132,24 +132,24 @@

Method Details

], "passingControls": 42, # The number of controls that are passing or not assessed. }, - "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of controls that are passing for the given duration. + "controlsPassingTrend": { # The trend of a compliance metric. # Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. "duration": "A String", # Output only. The duration for the trend. "valuePercent": 3.14, # Output only. The trend value as a percentage. The value can be positive or negative. }, - "findingCount": "A String", # Output only. The count of the findings generated against the framework. - "framework": "A String", # The name of the framework. - "frameworkCategories": [ # The list of framework categories supported by the framework. + "findingCount": "A String", # Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. + "framework": "A String", # The resource name of the compliance framework. + "frameworkCategories": [ # The categories of the framework. "A String", ], - "frameworkDisplayName": "A String", # Optional. The display name for the framework. - "frameworkType": "A String", # The type of framework. + "frameworkDisplayName": "A String", # Optional. The display name of the framework. + "frameworkType": "A String", # The type of the framework. "majorRevisionId": "A String", # The major revision ID of the framework. "minorRevisionId": "A String", # The minor revision ID of the framework. - "name": "A String", # Identifier. The name of the framework compliance summary. - "supportedCloudProviders": [ # The list of cloud providers supported by the framework. + "name": "A String", # Identifier. The resource name of the framework compliance summary. + "supportedCloudProviders": [ # The cloud providers that are supported by the framework. "A String", ], - "targetResourceDetails": [ # The target resource details for the framework. + "targetResourceDetails": [ # The details of the target resources (organizations, folders, or projects) that the framework is deployed on. { # The details for a target resource. "createTime": "A String", # The create time of the target resource. "frameworkDeployment": "A String", # The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` @@ -162,7 +162,7 @@

Method Details

], }, ], - "nextPageToken": "A String", # Output only. The token to retrieve the next page of results. + "nextPageToken": "A String", # Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. }
diff --git a/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.bindings.html b/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.bindings.html index 286867225c..b6badcd5c1 100644 --- a/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.bindings.html +++ b/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.bindings.html @@ -83,7 +83,7 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, autoProtectionPolicyBindingId=None, body=None, x__xgafv=None)

+ create(parent, autoProtectionPolicyBindingId=None, body=None, requestId=None, x__xgafv=None)

Creates a new AutoProtectionPolicyBinding in a given project and location.

get(name, x__xgafv=None)

@@ -104,7 +104,7 @@

Method Details

- create(parent, autoProtectionPolicyBindingId=None, body=None, x__xgafv=None) + create(parent, autoProtectionPolicyBindingId=None, body=None, requestId=None, x__xgafv=None)
Creates a new AutoProtectionPolicyBinding in a given project and location.
 
 Args:
@@ -119,15 +119,16 @@ 

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. } - autoProtectionPolicyBindingId: string, Required. The ID to use for the binding. This will become the final component of the binding's resource name. + autoProtectionPolicyBindingId: string, Required. The ID to use for the binding. This will become the final component of the binding's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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 @@ -178,9 +179,9 @@

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. @@ -197,6 +198,8 @@

Method Details

The object takes the form of: { # Request message for initiating delete of an AutoProtectionPolicyBinding. + "etag": "A String", # Optional. The current etag of the AutoProtectionPolicyBinding. If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned. + "requestId": "A String", # Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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. @@ -255,9 +258,9 @@

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. diff --git a/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.html b/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.html index b5f501a2b0..4d140fcb35 100644 --- a/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.html +++ b/docs/dyn/backupdr_v1.projects.locations.autoProtectionPolicies.html @@ -83,10 +83,10 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, autoProtectionPolicyId=None, body=None, x__xgafv=None)

+ create(parent, autoProtectionPolicyId=None, body=None, requestId=None, x__xgafv=None)

Creates a new AutoProtectionPolicy in a given project and location.

- delete(name, etag=None, x__xgafv=None)

+ delete(name, etag=None, requestId=None, x__xgafv=None)

Deletes a single AutoProtectionPolicy.

get(name, x__xgafv=None)

@@ -98,7 +98,7 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(name, body=None, updateMask=None, x__xgafv=None)

+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)

Updates the parameters of a single AutoProtectionPolicy.

Method Details

@@ -107,7 +107,7 @@

Method Details

- create(parent, autoProtectionPolicyId=None, body=None, x__xgafv=None) + create(parent, autoProtectionPolicyId=None, body=None, requestId=None, x__xgafv=None)
Creates a new AutoProtectionPolicy in a given project and location.
 
 Args:
@@ -138,9 +138,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy evaluation when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -150,7 +150,8 @@

Method Details

"updateTime": "A String", # Output only. The timestamp when the policy was last updated. } - autoProtectionPolicyId: string, Required. The ID to use for the policy. This will become the final component of the policy's resource name. + autoProtectionPolicyId: string, Required. The ID to use for the policy. This will become the final component of the policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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 @@ -181,12 +182,13 @@

Method Details

- delete(name, etag=None, x__xgafv=None) + delete(name, etag=None, requestId=None, x__xgafv=None)
Deletes a single AutoProtectionPolicy.
 
 Args:
   name: string, Required. The name of the policy to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy} (required)
   etag: string, The current etag of the autoprotectionpolicy. If an etag is provided and does not match the current etag of the connection, deletion will be blocked.
+  requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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
@@ -253,9 +255,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy evaluation when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -309,9 +311,9 @@

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy evaluation when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -343,11 +345,11 @@

Method Details

- patch(name, body=None, updateMask=None, x__xgafv=None) + patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)
Updates the parameters of a single AutoProtectionPolicy.
 
 Args:
-  name: string, Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` (required)
+  name: string, Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -374,9 +376,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy evaluation when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -386,6 +388,7 @@

Method Details

"updateTime": "A String", # Output only. The timestamp when the policy was last updated. } + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the AutoProtectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. x__xgafv: string, V1 error format. Allowed values diff --git a/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.bindings.html b/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.bindings.html index bdcf6d7847..16117ae10f 100644 --- a/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.bindings.html +++ b/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.bindings.html @@ -83,7 +83,7 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, autoProtectionPolicyBindingId=None, body=None, x__xgafv=None)

+ create(parent, autoProtectionPolicyBindingId=None, body=None, requestId=None, x__xgafv=None)

Creates a new AutoProtectionPolicyBinding in a given project and location.

get(name, x__xgafv=None)

@@ -104,7 +104,7 @@

Method Details

- create(parent, autoProtectionPolicyBindingId=None, body=None, x__xgafv=None) + create(parent, autoProtectionPolicyBindingId=None, body=None, requestId=None, x__xgafv=None)
Creates a new AutoProtectionPolicyBinding in a given project and location.
 
 Args:
@@ -119,15 +119,16 @@ 

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. } - autoProtectionPolicyBindingId: string, Required. The ID to use for the binding. This will become the final component of the binding's resource name. + autoProtectionPolicyBindingId: string, Required. The ID to use for the binding. This will become the final component of the binding's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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 @@ -178,9 +179,9 @@

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. @@ -197,6 +198,8 @@

Method Details

The object takes the form of: { # Request message for initiating delete of an AutoProtectionPolicyBinding. + "etag": "A String", # Optional. The current etag of the AutoProtectionPolicyBinding. If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned. + "requestId": "A String", # Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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. @@ -255,9 +258,9 @@

Method Details

"protectedResourceCount": "A String", # Output only. The number of matching resources that are successfully protected. }, "createTime": "A String", # Output only. The timestamp when the binding was created. - "description": "A String", # Optional. A description of the binding. + "description": "A String", # Optional. A description of the binding. The description must be at most 2048 characters. "etag": "A String", # Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag. - "name": "A String", # Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` + "name": "A String", # Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}` "scope": "A String", # Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id} "state": "A String", # Output only. The current state of the AutoProtectionPolicyBinding. "updateTime": "A String", # Output only. The timestamp when the binding was last updated. diff --git a/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.html b/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.html index afc0183117..80bc764437 100644 --- a/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.html +++ b/docs/dyn/backupdr_v1beta.projects.locations.autoProtectionPolicies.html @@ -83,10 +83,10 @@

Instance Methods

close()

Close httplib2 connections.

- create(parent, autoProtectionPolicyId=None, body=None, x__xgafv=None)

+ create(parent, autoProtectionPolicyId=None, body=None, requestId=None, x__xgafv=None)

Creates a new AutoProtectionPolicy in a given project and location.

- delete(name, etag=None, x__xgafv=None)

+ delete(name, etag=None, requestId=None, x__xgafv=None)

Deletes a single AutoProtectionPolicy.

get(name, x__xgafv=None)

@@ -98,7 +98,7 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(name, body=None, updateMask=None, x__xgafv=None)

+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)

Updates the parameters of a single AutoProtectionPolicy.

Method Details

@@ -107,7 +107,7 @@

Method Details

- create(parent, autoProtectionPolicyId=None, body=None, x__xgafv=None) + create(parent, autoProtectionPolicyId=None, body=None, requestId=None, x__xgafv=None)
Creates a new AutoProtectionPolicy in a given project and location.
 
 Args:
@@ -138,9 +138,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error. - "name": "A String", # Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy application when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -150,7 +150,8 @@

Method Details

"updateTime": "A String", # Output only. The timestamp when the policy was last updated. } - autoProtectionPolicyId: string, Required. The ID to use for the policy. This will become the final component of the policy's resource name. + autoProtectionPolicyId: string, Required. The ID to use for the policy. This will become the final component of the policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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 @@ -181,12 +182,13 @@

Method Details

- delete(name, etag=None, x__xgafv=None) + delete(name, etag=None, requestId=None, x__xgafv=None)
Deletes a single AutoProtectionPolicy.
 
 Args:
   name: string, Required. The name of the policy to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy} (required)
   etag: string, The current etag of the AutoProtectionPolicy. If an etag is provided and does not match the current etag of the connection, the request will be rejected with an ABORTED error.
+  requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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
@@ -253,9 +255,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error. - "name": "A String", # Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy application when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -309,9 +311,9 @@

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error. - "name": "A String", # Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy application when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -343,11 +345,11 @@

Method Details

- patch(name, body=None, updateMask=None, x__xgafv=None) + patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)
Updates the parameters of a single AutoProtectionPolicy.
 
 Args:
-  name: string, Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` (required)
+  name: string, Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -374,9 +376,9 @@ 

Method Details

}, ], }, - "description": "A String", # Optional. A description of the policy. + "description": "A String", # Optional. A description of the policy. The description must be at most 2048 characters. "etag": "A String", # Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error. - "name": "A String", # Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` + "name": "A String", # Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}` "policyEvaluationSummary": { # PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources. # Output only. Summary of last policy application when job was run per workload type. "failedResourceCount": "A String", # Output only. The number of matching resources whose protection failed during job run. "matchingResourceCount": "A String", # Output only. The number of resources that currently match the policy's criteria. @@ -386,6 +388,7 @@

Method Details

"updateTime": "A String", # Output only. The timestamp when the policy was last updated. } + requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the AutoProtectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. x__xgafv: string, V1 error format. Allowed values diff --git a/docs/dyn/bigquery_v2.jobs.html b/docs/dyn/bigquery_v2.jobs.html index 99b2d4ded9..536d6a2d3e 100644 --- a/docs/dyn/bigquery_v2.jobs.html +++ b/docs/dyn/bigquery_v2.jobs.html @@ -164,6 +164,11 @@

Method Details

}, "nativeGeographyExportEnabled": True or False, # Optional. Applicable to formats: PARQUET. If enabled, BigQuery to Parquet export will write the native Parquet Geography type instead of the default GeoParquet type. "printHeader": true, # Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models. + "secureContext": { # A set of key-value pairs representing the secure context. # Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies. + "secureParameterEntries": { # Optional. A set of key-value pairs representing the secure parameter values. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of a query. + "a_key": "", # Properties of the object. + }, + }, "sourceModel": { # Id path of a model. # A reference to the model being exported. "datasetId": "A String", # Required. The ID of the dataset containing this model. "modelId": "A String", # Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. @@ -1832,6 +1837,11 @@

Method Details

}, "nativeGeographyExportEnabled": True or False, # Optional. Applicable to formats: PARQUET. If enabled, BigQuery to Parquet export will write the native Parquet Geography type instead of the default GeoParquet type. "printHeader": true, # Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models. + "secureContext": { # A set of key-value pairs representing the secure context. # Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies. + "secureParameterEntries": { # Optional. A set of key-value pairs representing the secure parameter values. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of a query. + "a_key": "", # Properties of the object. + }, + }, "sourceModel": { # Id path of a model. # A reference to the model being exported. "datasetId": "A String", # Required. The ID of the dataset containing this model. "modelId": "A String", # Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. @@ -3608,6 +3618,11 @@

Method Details

}, "nativeGeographyExportEnabled": True or False, # Optional. Applicable to formats: PARQUET. If enabled, BigQuery to Parquet export will write the native Parquet Geography type instead of the default GeoParquet type. "printHeader": true, # Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models. + "secureContext": { # A set of key-value pairs representing the secure context. # Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies. + "secureParameterEntries": { # Optional. A set of key-value pairs representing the secure parameter values. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of a query. + "a_key": "", # Properties of the object. + }, + }, "sourceModel": { # Id path of a model. # A reference to the model being exported. "datasetId": "A String", # Required. The ID of the dataset containing this model. "modelId": "A String", # Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. @@ -5247,6 +5262,11 @@

Method Details

}, "nativeGeographyExportEnabled": True or False, # Optional. Applicable to formats: PARQUET. If enabled, BigQuery to Parquet export will write the native Parquet Geography type instead of the default GeoParquet type. "printHeader": true, # Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models. + "secureContext": { # A set of key-value pairs representing the secure context. # Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies. + "secureParameterEntries": { # Optional. A set of key-value pairs representing the secure parameter values. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of a query. + "a_key": "", # Properties of the object. + }, + }, "sourceModel": { # Id path of a model. # A reference to the model being exported. "datasetId": "A String", # Required. The ID of the dataset containing this model. "modelId": "A String", # Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. @@ -6909,6 +6929,11 @@

Method Details

}, "nativeGeographyExportEnabled": True or False, # Optional. Applicable to formats: PARQUET. If enabled, BigQuery to Parquet export will write the native Parquet Geography type instead of the default GeoParquet type. "printHeader": true, # Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models. + "secureContext": { # A set of key-value pairs representing the secure context. # Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies. + "secureParameterEntries": { # Optional. A set of key-value pairs representing the secure parameter values. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of a query. + "a_key": "", # Properties of the object. + }, + }, "sourceModel": { # Id path of a model. # A reference to the model being exported. "datasetId": "A String", # Required. The ID of the dataset containing this model. "modelId": "A String", # Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. diff --git a/docs/dyn/bigquerydatapolicy_v2.projects.locations.dataPolicies.html b/docs/dyn/bigquerydatapolicy_v2.projects.locations.dataPolicies.html index 8f7501c26e..b7fae64683 100644 --- a/docs/dyn/bigquerydatapolicy_v2.projects.locations.dataPolicies.html +++ b/docs/dyn/bigquerydatapolicy_v2.projects.locations.dataPolicies.html @@ -149,6 +149,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -185,6 +186,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -215,6 +217,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -268,6 +271,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -364,6 +368,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -411,6 +416,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -441,6 +447,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. @@ -485,6 +492,7 @@

Method Details

"grantees": [ # Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. "A String", ], + "matchingCondition": "A String", # Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')` "name": "A String", # Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. "policyTag": "A String", # Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies. "version": "A String", # Output only. The version of the Data Policy resource. diff --git a/docs/dyn/bigtableadmin_v2.projects.instances.tables.html b/docs/dyn/bigtableadmin_v2.projects.instances.tables.html index fe8e20c198..de6f61a4cb 100644 --- a/docs/dyn/bigtableadmin_v2.projects.instances.tables.html +++ b/docs/dyn/bigtableadmin_v2.projects.instances.tables.html @@ -2086,231 +2086,7 @@

Method Details

{ # The request for RestoreTable. "backup": "A String", # Name of the backup from which to restore. Values are of the form `projects//instances//clusters//backups/`. - "table": { # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster. # Optional. Properties of the table to be restored. Only the fields specified in update_mask will be used to set the restored table's properties. - "automatedBackupPolicy": { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled. - "disabled": True or False, # Optional. If `true`, automated backups are explicitly disabled on this table. This allows users to opt out of default enablement. - "frequency": "A String", # How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours. - "keepHotDuration": "A String", # Optional. The amount of time that the automated backups remain hot. If specified, the backups created by this policy are `HOT` backups. If not specified, the backups are `STANDARD` backups. The value must be at least 24 hours and at most 10 days, and can't exceed the policy's `retention_period`. Only SSD instances support `HOT` automated backups. - "locations": [ # Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project}/locations/{zone}`. You can set this field only for tables in Enterprise Plus instances. - "A String", - ], - "retentionPeriod": "A String", # Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days. - }, - "changeStreamConfig": { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained. - "retentionPeriod": "A String", # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity. - }, - "clusterStates": { # Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` - "a_key": { # The state of a table's data in a particular cluster. - "encryptionInfo": [ # Output only. The encryption information for the table in this cluster. If the encryption key protecting this resource is customer managed, then its version can be rotated in Cloud Key Management Service (Cloud KMS). The primary version of the key and its status will be reflected here when changes propagate from Cloud KMS. - { # Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status. - "encryptionStatus": { # The `Status` type defines a logical error model that is suitable for 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). # Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest. - "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. - }, - "encryptionType": "A String", # Output only. The type of encryption used to protect this resource. - "kmsKeyVersion": "A String", # Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table. - }, - ], - "replicationState": "A String", # Output only. The state of replication for the table in this cluster. - }, - }, - "columnFamilies": { # The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL` - "a_key": { # A set of columns within a table which share a common configuration. - "gcRule": { # Rule for determining which cells to delete during garbage collection. # Garbage collection rule specified as a protobuf. Must serialize to at most 500 bytes. NOTE: Garbage collection executes opportunistically in the background, and so it's possible for reads to return a cell even if it matches the active GC expression for its family. - "intersection": { # A GcRule which deletes cells matching all of the given rules. # Delete cells that would be deleted by every nested rule. - "rules": [ # Only delete cells which would be deleted by every element of `rules`. - # Object with schema name: GcRule - ], - }, - "maxAge": "A String", # Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity. - "maxNumVersions": 42, # Delete all cells in a column except the most recent N. - "union": { # A GcRule which deletes cells matching any of the given rules. # Delete cells that would be deleted by any nested rule. - "rules": [ # Delete cells which would be deleted by any element of `rules`. - # Object with schema name: GcRule - ], - }, - }, - "stats": { # Approximate statistics related to a single column family within a table. This information may change rapidly, interpreting these values at a point in time may already preset out-of-date information. Everything below is approximate, unless otherwise specified. # Output only. Only available with STATS_VIEW, this includes summary statistics about column family contents. For statistics over an entire table, see TableStats above. - "averageCellsPerColumn": 3.14, # How many cells are present per column qualifier in this column family, averaged over all rows containing any column in the column family. e.g. For column family "family" in a table with 3 rows: * A row with 3 cells in "family:col" and 1 cell in "other:col" (3 cells / 1 column in "family") * A row with 1 cell in "family:col", 7 cells in "family:other_col", and 7 cells in "other:data" (8 cells / 2 columns in "family") * A row with 3 cells in "other:col" (0 columns in "family", "family" not present) would report (3 + 8 + 0)/(1 + 2 + 0) = 3.66 in this field. - "averageColumnsPerRow": 3.14, # How many column qualifiers are present in this column family, averaged over all rows in the table. e.g. For column family "family" in a table with 3 rows: * A row with cells in "family:col" and "other:col" (1 column in "family") * A row with cells in "family:col", "family:other_col", and "other:data" (2 columns in "family") * A row with cells in "other:col" (0 columns in "family", "family" not present) would report (1 + 2 + 0)/3 = 1.5 in this field. - "logicalDataBytes": "A String", # How much space the data in the column family occupies. This is roughly how many bytes would be needed to read the contents of the entire column family (e.g. by streaming all contents out). - "logicalDataHddBytes": "A String", # Output only. The logical data bytes of the column family stored on HDD. - "logicalDataSsdBytes": "A String", # Output only. The logical data bytes of the column family stored on SSD. - }, - "valueType": { # `Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to or from the underlying data. Each encoding can operate in one of two modes: - Sorted: In this mode, Bigtable guarantees that `Encode(X) <= Encode(Y)` if and only if `X <= Y`. This is useful anywhere sort order is important, for example when encoding keys. - Distinct: In this mode, Bigtable guarantees that if `X != Y` then `Encode(X) != Encode(Y)`. However, the converse is not guaranteed. For example, both `{'foo': '1', 'bar': '2'}` and `{'bar': '2', 'foo': '1'}` are valid encodings of the same JSON value. The API clearly documents which mode is used wherever an encoding can be configured. Each encoding also documents which values are supported in which modes. For example, when encoding INT64 as a numeric STRING, negative numbers cannot be encoded in sorted mode. This is because `INT64(1) > INT64(-1)`, but `STRING("-00001") > STRING("00001")`. # The type of data stored in each of this family's cell values, including its full encoding. If omitted, the family only serves raw untyped bytes. For now, only the `Aggregate` type is supported. `Aggregate` can only be set at family creation and is immutable afterwards. This field is mutually exclusive with `sql_type`. If `value_type` is `Aggregate`, written data must be compatible with: * `value_type.input_type` for `AddInput` mutations - "aggregateType": { # A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes provide either the `input_type` or `state_type`, and reads always return the `state_type` . # Aggregate - "hllppUniqueCount": { # Computes an approximate unique count over the input values. When using raw data as input, be careful to use a consistent encoding. Otherwise the same value encoded differently could count more than once, or two distinct values could count as identical. Input: Any, or omit for Raw State: TBD Special state conversions: `Int64` (the unique count estimate) # HyperLogLogPlusPlusUniqueCount aggregator. - }, - "inputType": # Object with schema name: Type # Type of the inputs that are accumulated by this `Aggregate`. Use `AddInput` mutations to accumulate new inputs. - "max": { # Computes the max of the input values. Allowed input: `Int64` State: same as input # Max aggregator. - }, - "min": { # Computes the min of the input values. Allowed input: `Int64` State: same as input # Min aggregator. - }, - "stateType": # Object with schema name: Type # Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen. - "sum": { # Computes the sum of the input values. Allowed input: `Int64` State: same as input # Sum aggregator. - }, - }, - "arrayType": { # An ordered list of elements of a given type. Values of type `Array` are stored in `Value.array_value`. # Array - "elementType": # Object with schema name: Type # The type of the elements in the array. This must not be `Array`. - }, - "boolType": { # bool Values of type `Bool` are stored in `Value.bool_value`. # Bool - "encoding": { # Defines rules used to convert to or from lower level types. # Specifies the encoding to use when converting to or from lower level types. - }, - }, - "bytesType": { # Bytes Values of type `Bytes` are stored in `Value.bytes_value`. # Bytes - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "raw": { # Leaves the value as-is. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `Raw` encoding. - "escapeNulls": True or False, # If set, allows NULL values to be encoded as the empty string "". The actual empty string, or any value which only contains the null byte `0x00`, has one more null byte appended. - }, - }, - }, - "dateType": { # Date Values of type `Date` are stored in `Value.date_value`. # Date - }, - "enumType": { # A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`. # Enum - "enumName": "A String", # The fully qualified name of the protobuf enum message, including package. In the format of "foo.bar.EnumMessage". - "schemaBundleId": "A String", # The ID of the schema bundle that this enum is defined in. - }, - "float32Type": { # Float32 Values of type `Float32` are stored in `Value.float_value`. # Float32 - }, - "float64Type": { # Float64 Values of type `Float64` are stored in `Value.float_value`. # Float64 - }, - "geographyType": { # A geography type, representing a point or region on Earth. The value is stored in `Value.bytes_value` as Well-Known Binary (WKB) bytes. # Geography - }, - "int32Type": { # Int32 Values of type `Int32` are stored in `Value.int_value`. # Int32 - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "bigEndianBytes": { # Encodes the value as a 4-byte big-endian two's complement value. Sorted mode: non-negative values are supported. Distinct mode: all values are supported. Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putInt()` with `ByteOrder.BIG_ENDIAN` # Use `BigEndianBytes` encoding. - }, - "orderedCodeBytes": { # Encodes the value in a variable length binary format of up to 5 bytes. Values that are closer to zero use fewer bytes. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `OrderedCodeBytes` encoding. - }, - }, - }, - "int64Type": { # Int64 Values of type `Int64` are stored in `Value.int_value`. # Int64 - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "bigEndianBytes": { # Encodes the value as an 8-byte big-endian two's complement value. Sorted mode: non-negative values are supported. Distinct mode: all values are supported. Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN` # Use `BigEndianBytes` encoding. - "bytesType": { # Bytes Values of type `Bytes` are stored in `Value.bytes_value`. # Deprecated: ignored if set. - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "raw": { # Leaves the value as-is. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `Raw` encoding. - "escapeNulls": True or False, # If set, allows NULL values to be encoded as the empty string "". The actual empty string, or any value which only contains the null byte `0x00`, has one more null byte appended. - }, - }, - }, - }, - "orderedCodeBytes": { # Encodes the value in a variable length binary format of up to 10 bytes. Values that are closer to zero use fewer bytes. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `OrderedCodeBytes` encoding. - }, - }, - }, - "mapType": { # A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence. # Map - "keyType": # Object with schema name: Type # The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types. - "valueType": # Object with schema name: Type # The type of the values in a map. - }, - "protoType": { # A protobuf message type. Values of type `Proto` are stored in `Value.bytes_value`. # Proto - "messageName": "A String", # The fully qualified name of the protobuf message, including package. In the format of "foo.bar.Message". - "schemaBundleId": "A String", # The ID of the schema bundle that this proto is defined in. - }, - "stringType": { # String Values of type `String` are stored in `Value.string_value`. # String - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "utf8Bytes": { # UTF-8 encoding. Sorted mode: - All values are supported. - Code point order is preserved. Distinct mode: all values are supported. Compatible with: - BigQuery `TEXT` encoding - HBase `Bytes.toBytes` - Java `String#getBytes(StandardCharsets.UTF_8)` # Use `Utf8Bytes` encoding. - "nullEscapeChar": "A String", # Single-character escape sequence used to support NULL values. If set, allows NULL values to be encoded as the empty string "". The actual empty string, or any value where every character equals `null_escape_char`, has one more `null_escape_char` appended. If `null_escape_char` is set and does not equal the ASCII null character `0x00`, then the encoding will not support sorted mode. . - }, - "utf8Raw": { # Deprecated: prefer the equivalent `Utf8Bytes`. # Deprecated: if set, converts to an empty `utf8_bytes`. - }, - }, - }, - "structType": { # A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`. # Struct - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "delimitedBytes": { # Fields are encoded independently and concatenated with a configurable `delimiter` in between. A struct with no fields defined is encoded as a single `delimiter`. Sorted mode: - Fields are encoded in sorted mode. - Encoded field values must not contain any bytes <= `delimiter[0]` - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. - This encoding does not support `DESC` field ordering. Distinct mode: - Fields are encoded in distinct mode. - Encoded field values must not contain `delimiter[0]`. # Use `DelimitedBytes` encoding. - "delimiter": "A String", # Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters. - }, - "orderedCodeBytes": { # Fields are encoded independently, then escaped and delimited by appling the following rules in order: - While the last remaining field is `ASC` or `UNSPECIFIED`, and encodes to the empty string "", remove it. - In each remaining field, replace all null bytes `0x00` with the fixed byte pair `{0x00, 0xFF}`. - If any remaining field encodes to the empty string "", replace it with the fixed byte pair `{0x00, 0x00}`. - Append the fixed byte pair `{0x00, 0x01}` to each remaining field, except for the last remaining field if it is `ASC`. - Bitwise negate all `DESC` fields. - Concatenate the results, or emit the fixed byte pair `{0x00, 0x00}` if there are no remaining fields to concatenate. Examples: ``` - STRUCT() -> "\00\00" - STRUCT("") -> "\00\00" - STRUCT("", "") -> "\00\00" - STRUCT("", "B") -> "\00\00" + "\00\01" + "B" - STRUCT("A", "") -> "A" - STRUCT("", "B", "") -> "\00\00" + "\00\01" + "B" - STRUCT("A", "", "C") -> "A" + "\00\01" + "\00\00" + "\00\01" + "C" ``` Examples for struct with `DESC` fields: ``` - STRUCT("" DESC) -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "") -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "", "") -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "A") -> "\xFF\xFF" + "\xFF\xFE" + "A" - STRUCT("A", "" DESC, "") -> "A" + "\00\01" + "\xFF\xFF" + "\xFF\xFE" - STRUCT("", "A" DESC) -> "\x00\x00" + "\x00\x01" + "\xBE" + "\xFF\xFE" ``` Since null bytes are always escaped, this encoding can cause size blowup for encodings like `Int64.BigEndianBytes` that are likely to produce many such bytes. Sorted mode: - Fields are encoded in sorted mode. - All values supported by the field encodings are allowed. - Fields with unset or `UNSPECIFIED` order are treated as `ASC`. - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. Distinct mode: - Fields are encoded in distinct mode. - All values supported by the field encodings are allowed. # User `OrderedCodeBytes` encoding. - }, - "singleton": { # Uses the encoding of `fields[0].type` as-is. Only valid if `fields.size == 1`. This encoding does not support `DESC` field ordering. # Use `Singleton` encoding. - }, - }, - "fields": [ # The names and types of the fields in this struct. - { # A struct field and its type. - "fieldName": "A String", # The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name. - "type": # Object with schema name: Type # The type of values in this field. - }, - ], - }, - "timestampType": { # Timestamp Values of type `Timestamp` are stored in `Value.timestamp_value`. # Timestamp - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "unixMicrosInt64": { # Rules used to convert to or from lower level types. # Encodes the number of microseconds since the Unix epoch using the given `Int64` encoding. Values must be microsecond-aligned. Compatible with: - Java `Instant.truncatedTo()` with `ChronoUnit.MICROS` - "bigEndianBytes": { # Encodes the value as an 8-byte big-endian two's complement value. Sorted mode: non-negative values are supported. Distinct mode: all values are supported. Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN` # Use `BigEndianBytes` encoding. - "bytesType": { # Bytes Values of type `Bytes` are stored in `Value.bytes_value`. # Deprecated: ignored if set. - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "raw": { # Leaves the value as-is. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `Raw` encoding. - "escapeNulls": True or False, # If set, allows NULL values to be encoded as the empty string "". The actual empty string, or any value which only contains the null byte `0x00`, has one more null byte appended. - }, - }, - }, - }, - "orderedCodeBytes": { # Encodes the value in a variable length binary format of up to 10 bytes. Values that are closer to zero use fewer bytes. Sorted mode: all values are supported. Distinct mode: all values are supported. # Use `OrderedCodeBytes` encoding. - }, - }, - }, - }, - }, - }, - }, - "deletionProtection": True or False, # Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs. - "effectiveAutomatedBackupPolicy": { # Defines an automated backup policy for a table # Output only. The effective automated backup policy applied to the table. This represents the policy actually in effect, which may be a system-default policy if the user has not explicitly configured one. Views: `SCHEMA_VIEW`, `FULL`. - "disabled": True or False, # Optional. If `true`, automated backups are explicitly disabled on this table. This allows users to opt out of default enablement. - "frequency": "A String", # How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours. - "keepHotDuration": "A String", # Optional. The amount of time that the automated backups remain hot. If specified, the backups created by this policy are `HOT` backups. If not specified, the backups are `STANDARD` backups. The value must be at least 24 hours and at most 10 days, and can't exceed the policy's `retention_period`. Only SSD instances support `HOT` automated backups. - "locations": [ # Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If empty, automated backups will be created in all zones of the instance. Locations are in the format `projects/{project}/locations/{zone}`. You can set this field only for tables in Enterprise Plus instances. - "A String", - ], - "retentionPeriod": "A String", # Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days. - }, - "granularity": "A String", # Immutable. The granularity at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`. - "name": "A String", # The unique name of the table. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `STATS_VIEW`, `FULL` - "restoreInfo": { # Information about a table restore. # Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore. - "backupInfo": { # Information about a backup. # Information about the backup used to restore the table. The backup may no longer exist. - "backup": "A String", # Output only. Name of the backup. - "endTime": "A String", # Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp. - "sourceBackup": "A String", # Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/ - "sourceTable": "A String", # Output only. Name of the table the backup was created from. - "startTime": "A String", # Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp. - }, - "sourceType": "A String", # The type of the restore source. - }, - "rowKeySchema": { # A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`. # The row key schema for this table. The schema is used to decode the raw row key bytes into a structured format. The order of field declarations in this schema is important, as it reflects how the raw row key bytes are structured. Currently, this only affects how the key is read via a GoogleSQL query from the ExecuteQuery API. For a SQL query, the _key column is still read as raw bytes. But queries can reference the key fields by name, which will be decoded from _key using provided type and encoding. Queries that reference key fields will fail if they encounter an invalid row key. For example, if _key = "some_id#2024-04-30#\x00\x13\x00\xf3" with the following schema: { fields { field_name: "id" type { string { encoding: utf8_bytes {} } } } fields { field_name: "date" type { string { encoding: utf8_bytes {} } } } fields { field_name: "product_code" type { int64 { encoding: big_endian_bytes {} } } } encoding { delimited_bytes { delimiter: "#" } } } The decoded key parts would be: id = "some_id", date = "2024-04-30", product_code = 1245427 The query "SELECT _key, product_code FROM table" will return two columns: /------------------------------------------------------\ | _key | product_code | | --------------------------------------|--------------| | "some_id#2024-04-30#\x00\x13\x00\xf3" | 1245427 | \------------------------------------------------------/ The schema has the following invariants: (1) The decoded field values are order-preserved. For read, the field values will be decoded in sorted mode from the raw bytes. (2) Every field in the schema must specify a non-empty name. (3) Every field must specify a type with an associated encoding. The type is limited to scalar types only: Array, Map, Aggregate, and Struct are not allowed. (4) The field names must not collide with existing column family names and reserved keywords "_key" and "_timestamp". The following update operations are allowed for row_key_schema: - Update from an empty schema to a new schema. - Remove the existing schema. This operation requires setting the `ignore_warnings` flag to `true`, since it might be a backward incompatible change. Without the flag, the update request will fail with an INVALID_ARGUMENT error. Any other row key schema update operation (e.g. update existing schema columns names or types) is currently unsupported. - "encoding": { # Rules used to convert to or from lower level types. # The encoding to use when converting to or from lower level types. - "delimitedBytes": { # Fields are encoded independently and concatenated with a configurable `delimiter` in between. A struct with no fields defined is encoded as a single `delimiter`. Sorted mode: - Fields are encoded in sorted mode. - Encoded field values must not contain any bytes <= `delimiter[0]` - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. - This encoding does not support `DESC` field ordering. Distinct mode: - Fields are encoded in distinct mode. - Encoded field values must not contain `delimiter[0]`. # Use `DelimitedBytes` encoding. - "delimiter": "A String", # Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters. - }, - "orderedCodeBytes": { # Fields are encoded independently, then escaped and delimited by appling the following rules in order: - While the last remaining field is `ASC` or `UNSPECIFIED`, and encodes to the empty string "", remove it. - In each remaining field, replace all null bytes `0x00` with the fixed byte pair `{0x00, 0xFF}`. - If any remaining field encodes to the empty string "", replace it with the fixed byte pair `{0x00, 0x00}`. - Append the fixed byte pair `{0x00, 0x01}` to each remaining field, except for the last remaining field if it is `ASC`. - Bitwise negate all `DESC` fields. - Concatenate the results, or emit the fixed byte pair `{0x00, 0x00}` if there are no remaining fields to concatenate. Examples: ``` - STRUCT() -> "\00\00" - STRUCT("") -> "\00\00" - STRUCT("", "") -> "\00\00" - STRUCT("", "B") -> "\00\00" + "\00\01" + "B" - STRUCT("A", "") -> "A" - STRUCT("", "B", "") -> "\00\00" + "\00\01" + "B" - STRUCT("A", "", "C") -> "A" + "\00\01" + "\00\00" + "\00\01" + "C" ``` Examples for struct with `DESC` fields: ``` - STRUCT("" DESC) -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "") -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "", "") -> "\xFF\xFF" + "\xFF\xFE" - STRUCT("" DESC, "A") -> "\xFF\xFF" + "\xFF\xFE" + "A" - STRUCT("A", "" DESC, "") -> "A" + "\00\01" + "\xFF\xFF" + "\xFF\xFE" - STRUCT("", "A" DESC) -> "\x00\x00" + "\x00\x01" + "\xBE" + "\xFF\xFE" ``` Since null bytes are always escaped, this encoding can cause size blowup for encodings like `Int64.BigEndianBytes` that are likely to produce many such bytes. Sorted mode: - Fields are encoded in sorted mode. - All values supported by the field encodings are allowed. - Fields with unset or `UNSPECIFIED` order are treated as `ASC`. - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. Distinct mode: - Fields are encoded in distinct mode. - All values supported by the field encodings are allowed. # User `OrderedCodeBytes` encoding. - }, - "singleton": { # Uses the encoding of `fields[0].type` as-is. Only valid if `fields.size == 1`. This encoding does not support `DESC` field ordering. # Use `Singleton` encoding. - }, - }, - "fields": [ # The names and types of the fields in this struct. - { # A struct field and its type. - "fieldName": "A String", # The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name. - "type": # Object with schema name: Type # The type of values in this field. - }, - ], - }, - "stats": { # Approximate statistics related to a table. These statistics are calculated infrequently, while simultaneously, data in the table can change rapidly. Thus the values reported here (e.g. row count) are very likely out-of date, even the instant they are received in this API. Thus, only treat these values as approximate. IMPORTANT: Everything below is approximate, unless otherwise specified. # Output only. Only available with STATS_VIEW, this includes summary statistics about the entire table contents. For statistics about a specific column family, see ColumnFamilyStats in the mapped ColumnFamily collection above. - "averageCellsPerColumn": 3.14, # How many cells are present per column (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in "family:col" and 1 cell in "other:col" (4 cells / 2 columns) * A row with 1 cell in "family:col", 7 cells in "family:other_col", and 7 cells in "other:data" (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field. - "averageColumnsPerRow": 3.14, # How many (column family, column qualifier) combinations are present per row in the table, averaged over all rows in the table. e.g. A table with 2 rows: * A row with cells in "family:col" and "other:col" (2 distinct columns) * A row with cells in "family:col", "family:other_col", and "other:data" (3 distinct columns) would report (2 + 3)/2 = 2.5 in this field. - "logicalDataBytes": "A String", # This is roughly how many bytes would be needed to read the entire table (e.g. by streaming all contents out). - "rowCount": "A String", # How many rows are in the table. - }, - "tieredStorageConfig": { # Config for tiered storage. A valid config must have a valid TieredStorageRule. Otherwise the whole TieredStorageConfig must be unset. By default all data is stored in the SSD tier (only SSD instances can configure tiered storage). # Rules to specify what data is stored in each storage tier. Different tiers store data differently, providing different trade-offs between cost and performance. Different parts of a table can be stored separately on different tiers. If a config is specified, tiered storage is enabled for this table. Otherwise, tiered storage is disabled. Only SSD instances can configure tiered storage. - "infrequentAccess": { # Rule to specify what data is stored in a storage tier. # Rule to specify what data is stored in the infrequent access(IA) tier. The IA tier allows storing more data per node with reduced performance. - "includeIfOlderThan": "A String", # Include cells older than the given age. For the infrequent access tier, this value must be at least 30 days. - }, - }, - }, "tableId": "A String", # Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects//instances//tables/`. - "updateMask": "A String", # Optional. The list of fields to set on the new table. A mask specifying which fields (e.g. `deletion_protection`) in the `table` field should be set. This mask is relative to the `table` field, not to the request message. The wildcard (*) path is currently not supported. Currently RestoreTable only supports the following fields for modification: * `deletion_protection`: Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no automated backup policy if not set. Output-only fields in the mask will be ignored. If any other field not listed above is included in `update_mask`, it will result in an INVALID_ARGUMENT error. } x__xgafv: string, V1 error format. diff --git a/docs/dyn/chat_v1.spaces.messages.html b/docs/dyn/chat_v1.spaces.messages.html index 33f8f72d01..d6cb562777 100644 --- a/docs/dyn/chat_v1.spaces.messages.html +++ b/docs/dyn/chat_v1.spaces.messages.html @@ -176,7 +176,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -243,10 +243,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -282,13 +282,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -320,8 +320,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -369,7 +369,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -410,7 +410,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -426,7 +426,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -443,8 +443,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -660,7 +660,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -701,7 +701,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -717,7 +717,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -734,8 +734,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -801,7 +801,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -1039,8 +1039,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -1107,10 +1107,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -1146,13 +1146,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -1184,8 +1184,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -1233,7 +1233,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -1274,7 +1274,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -1290,7 +1290,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -1307,8 +1307,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -1524,7 +1524,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -1565,7 +1565,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -1581,7 +1581,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -1598,8 +1598,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -1665,7 +1665,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -2121,7 +2121,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -2188,10 +2188,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -2227,13 +2227,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -2265,8 +2265,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -2314,7 +2314,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -2355,7 +2355,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -2371,7 +2371,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -2388,8 +2388,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -2605,7 +2605,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -2646,7 +2646,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -2662,7 +2662,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -2679,8 +2679,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -2746,7 +2746,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -2945,6 +2945,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -3274,7 +3311,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -3341,10 +3378,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -3380,13 +3417,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -3418,8 +3455,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -3467,7 +3504,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -3508,7 +3545,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -3524,7 +3561,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -3541,8 +3578,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -3758,7 +3795,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -3799,7 +3836,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -3815,7 +3852,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -3832,8 +3869,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -3899,7 +3936,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -4137,8 +4174,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -4205,10 +4242,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -4244,13 +4281,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -4282,8 +4319,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -4331,7 +4368,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -4372,7 +4409,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -4388,7 +4425,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -4405,8 +4442,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -4622,7 +4659,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -4663,7 +4700,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -4679,7 +4716,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -4696,8 +4733,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -4763,7 +4800,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -5219,7 +5256,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -5286,10 +5323,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -5325,13 +5362,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -5363,8 +5400,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -5412,7 +5449,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -5453,7 +5490,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -5469,7 +5506,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -5486,8 +5523,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -5703,7 +5740,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -5744,7 +5781,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -5760,7 +5797,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -5777,8 +5814,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -5844,7 +5881,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -6043,6 +6080,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -6390,7 +6464,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -6457,10 +6531,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -6496,13 +6570,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -6534,8 +6608,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -6583,7 +6657,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -6624,7 +6698,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -6640,7 +6714,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -6657,8 +6731,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -6874,7 +6948,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -6915,7 +6989,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -6931,7 +7005,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -6948,8 +7022,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7015,7 +7089,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -7253,8 +7327,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -7321,10 +7395,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -7360,13 +7434,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -7398,8 +7472,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -7447,7 +7521,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -7488,7 +7562,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -7504,7 +7578,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -7521,8 +7595,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7738,7 +7812,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -7779,7 +7853,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -7795,7 +7869,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -7812,8 +7886,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7879,7 +7953,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -8335,7 +8409,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -8402,10 +8476,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -8441,13 +8515,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -8479,8 +8553,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -8528,7 +8602,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -8569,7 +8643,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -8585,7 +8659,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -8602,8 +8676,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -8819,7 +8893,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -8860,7 +8934,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -8876,7 +8950,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -8893,8 +8967,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -8960,7 +9034,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -9159,6 +9233,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -9494,7 +9605,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -9561,10 +9672,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -9600,13 +9711,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -9638,8 +9749,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -9687,7 +9798,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -9728,7 +9839,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -9744,7 +9855,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -9761,8 +9872,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -9978,7 +10089,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10019,7 +10130,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10035,7 +10146,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10052,8 +10163,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10119,7 +10230,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -10357,8 +10468,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -10425,10 +10536,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -10464,13 +10575,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -10502,8 +10613,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -10551,7 +10662,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10592,7 +10703,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10608,7 +10719,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10625,8 +10736,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10842,7 +10953,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10883,7 +10994,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10899,7 +11010,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10916,8 +11027,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10983,7 +11094,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -11439,7 +11550,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -11506,10 +11617,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -11545,13 +11656,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -11583,8 +11694,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -11632,7 +11743,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -11673,7 +11784,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -11689,7 +11800,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -11706,8 +11817,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -11923,7 +12034,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -11964,7 +12075,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -11980,7 +12091,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -11997,8 +12108,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -12064,7 +12175,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -12263,6 +12374,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -12598,7 +12746,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -12665,10 +12813,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -12704,13 +12852,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -12742,8 +12890,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -12791,7 +12939,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -12832,7 +12980,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -12848,7 +12996,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -12865,8 +13013,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13082,7 +13230,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -13123,7 +13271,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -13139,7 +13287,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -13156,8 +13304,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13223,7 +13371,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -13461,8 +13609,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -13529,10 +13677,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -13568,13 +13716,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -13606,8 +13754,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -13655,7 +13803,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -13696,7 +13844,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -13712,7 +13860,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -13729,8 +13877,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13946,7 +14094,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -13987,7 +14135,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -14003,7 +14151,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -14020,8 +14168,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -14087,7 +14235,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -14543,7 +14691,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -14610,10 +14758,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -14649,13 +14797,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -14687,8 +14835,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -14736,7 +14884,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -14777,7 +14925,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -14793,7 +14941,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -14810,8 +14958,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -15027,7 +15175,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -15068,7 +15216,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -15084,7 +15232,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -15101,8 +15249,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -15168,7 +15316,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -15367,6 +15515,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -15685,7 +15870,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -15752,10 +15937,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -15791,13 +15976,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -15829,8 +16014,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -15878,7 +16063,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -15919,7 +16104,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -15935,7 +16120,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -15952,8 +16137,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -16169,7 +16354,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -16210,7 +16395,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -16226,7 +16411,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -16243,8 +16428,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -16310,7 +16495,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -16548,8 +16733,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -16616,10 +16801,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -16655,13 +16840,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -16693,8 +16878,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -16742,7 +16927,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -16783,7 +16968,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -16799,7 +16984,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -16816,8 +17001,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -17033,7 +17218,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -17074,7 +17259,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -17090,7 +17275,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -17107,8 +17292,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -17174,7 +17359,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -17630,7 +17815,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -17697,10 +17882,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -17736,13 +17921,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -17774,8 +17959,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -17823,7 +18008,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -17864,7 +18049,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -17880,7 +18065,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -17897,8 +18082,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -18114,7 +18299,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -18155,7 +18340,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -18171,7 +18356,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -18188,8 +18373,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -18255,7 +18440,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -18454,6 +18639,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -18732,7 +18954,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared. { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -18799,10 +19021,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -18838,13 +19060,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -18876,8 +19098,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -18925,7 +19147,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -18966,7 +19188,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -18982,7 +19204,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -18999,8 +19221,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -19216,7 +19438,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -19257,7 +19479,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -19273,7 +19495,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -19290,8 +19512,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -19357,7 +19579,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -19638,7 +19860,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -19705,10 +19927,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -19744,13 +19966,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -19782,8 +20004,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -19831,7 +20053,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -19872,7 +20094,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -19888,7 +20110,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -19905,8 +20127,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -20122,7 +20344,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -20163,7 +20385,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -20179,7 +20401,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -20196,8 +20418,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -20263,7 +20485,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -20501,8 +20723,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -20569,10 +20791,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -20608,13 +20830,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -20646,8 +20868,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -20695,7 +20917,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -20736,7 +20958,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -20752,7 +20974,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -20769,8 +20991,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -20986,7 +21208,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -21027,7 +21249,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -21043,7 +21265,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -21060,8 +21282,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -21127,7 +21349,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -21583,7 +21805,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -21650,10 +21872,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -21689,13 +21911,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -21727,8 +21949,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -21776,7 +21998,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -21817,7 +22039,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -21833,7 +22055,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -21850,8 +22072,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -22067,7 +22289,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -22108,7 +22330,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -22124,7 +22346,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -22141,8 +22363,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -22208,7 +22430,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -22407,6 +22629,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -22744,7 +23003,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -22811,10 +23070,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -22850,13 +23109,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -22888,8 +23147,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -22937,7 +23196,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -22978,7 +23237,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -22994,7 +23253,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -23011,8 +23270,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -23228,7 +23487,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -23269,7 +23528,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -23285,7 +23544,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -23302,8 +23561,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -23369,7 +23628,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -23607,8 +23866,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -23675,10 +23934,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -23714,13 +23973,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -23752,8 +24011,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -23801,7 +24060,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -23842,7 +24101,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -23858,7 +24117,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -23875,8 +24134,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -24092,7 +24351,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -24133,7 +24392,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -24149,7 +24408,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -24166,8 +24425,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -24233,7 +24492,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -24689,7 +24948,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -24756,10 +25015,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -24795,13 +25054,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -24833,8 +25092,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -24882,7 +25141,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -24923,7 +25182,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -24939,7 +25198,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -24956,8 +25215,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -25173,7 +25432,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -25214,7 +25473,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -25230,7 +25489,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -25247,8 +25506,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -25314,7 +25573,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -25513,6 +25772,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -25831,7 +26127,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -25898,10 +26194,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -25937,13 +26233,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -25975,8 +26271,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -26024,7 +26320,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -26065,7 +26361,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -26081,7 +26377,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26098,8 +26394,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -26315,7 +26611,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -26356,7 +26652,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -26372,7 +26668,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26389,8 +26685,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -26456,7 +26752,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -26694,8 +26990,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -26762,10 +27058,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -26801,13 +27097,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -26839,8 +27135,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -26888,7 +27184,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -26929,7 +27225,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -26945,7 +27241,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26962,8 +27258,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -27179,7 +27475,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -27220,7 +27516,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -27236,7 +27532,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -27253,8 +27549,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -27320,7 +27616,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -27776,7 +28072,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -27843,10 +28139,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -27882,13 +28178,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -27920,8 +28216,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -27969,7 +28265,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -28010,7 +28306,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -28026,7 +28322,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -28043,8 +28339,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -28260,7 +28556,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -28301,7 +28597,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -28317,7 +28613,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -28334,8 +28630,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -28401,7 +28697,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -28600,6 +28896,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. diff --git a/docs/dyn/chat_v1.spaces.spaceEvents.html b/docs/dyn/chat_v1.spaces.spaceEvents.html index 2209e0f595..2dfc6dfa04 100644 --- a/docs/dyn/chat_v1.spaces.spaceEvents.html +++ b/docs/dyn/chat_v1.spaces.spaceEvents.html @@ -300,7 +300,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -367,10 +367,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -406,13 +406,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -444,8 +444,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -493,7 +493,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -534,7 +534,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -550,7 +550,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -567,8 +567,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -784,7 +784,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -825,7 +825,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -841,7 +841,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -858,8 +858,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -925,7 +925,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -1163,8 +1163,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -1231,10 +1231,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -1270,13 +1270,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -1308,8 +1308,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -1357,7 +1357,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -1398,7 +1398,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -1414,7 +1414,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -1431,8 +1431,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -1648,7 +1648,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -1689,7 +1689,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -1705,7 +1705,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -1722,8 +1722,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -1789,7 +1789,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -2245,7 +2245,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -2312,10 +2312,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -2351,13 +2351,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -2389,8 +2389,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -2438,7 +2438,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -2479,7 +2479,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -2495,7 +2495,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -2512,8 +2512,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -2729,7 +2729,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -2770,7 +2770,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -2786,7 +2786,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -2803,8 +2803,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -2870,7 +2870,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -3069,6 +3069,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -3382,7 +3419,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -3449,10 +3486,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -3488,13 +3525,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -3526,8 +3563,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -3575,7 +3612,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -3616,7 +3653,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -3632,7 +3669,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -3649,8 +3686,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -3866,7 +3903,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -3907,7 +3944,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -3923,7 +3960,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -3940,8 +3977,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -4007,7 +4044,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -4245,8 +4282,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -4313,10 +4350,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -4352,13 +4389,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -4390,8 +4427,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -4439,7 +4476,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -4480,7 +4517,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -4496,7 +4533,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -4513,8 +4550,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -4730,7 +4767,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -4771,7 +4808,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -4787,7 +4824,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -4804,8 +4841,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -4871,7 +4908,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -5327,7 +5364,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -5394,10 +5431,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -5433,13 +5470,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -5471,8 +5508,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -5520,7 +5557,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -5561,7 +5598,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -5577,7 +5614,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -5594,8 +5631,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -5811,7 +5848,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -5852,7 +5889,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -5868,7 +5905,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -5885,8 +5922,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -5952,7 +5989,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -6151,6 +6188,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -6464,7 +6538,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -6531,10 +6605,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -6570,13 +6644,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -6608,8 +6682,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -6657,7 +6731,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -6698,7 +6772,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -6714,7 +6788,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -6731,8 +6805,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -6948,7 +7022,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -6989,7 +7063,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -7005,7 +7079,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -7022,8 +7096,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7089,7 +7163,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -7327,8 +7401,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -7395,10 +7469,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -7434,13 +7508,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -7472,8 +7546,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -7521,7 +7595,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -7562,7 +7636,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -7578,7 +7652,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -7595,8 +7669,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7812,7 +7886,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -7853,7 +7927,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -7869,7 +7943,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -7886,8 +7960,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -7953,7 +8027,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -8409,7 +8483,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -8476,10 +8550,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -8515,13 +8589,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -8553,8 +8627,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -8602,7 +8676,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -8643,7 +8717,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -8659,7 +8733,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -8676,8 +8750,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -8893,7 +8967,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -8934,7 +9008,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -8950,7 +9024,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -8967,8 +9041,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -9034,7 +9108,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -9233,6 +9307,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -9544,7 +9655,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -9611,10 +9722,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -9650,13 +9761,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -9688,8 +9799,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -9737,7 +9848,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -9778,7 +9889,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -9794,7 +9905,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -9811,8 +9922,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10028,7 +10139,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10069,7 +10180,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10085,7 +10196,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10102,8 +10213,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10169,7 +10280,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -10407,8 +10518,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -10475,10 +10586,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -10514,13 +10625,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -10552,8 +10663,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -10601,7 +10712,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10642,7 +10753,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10658,7 +10769,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10675,8 +10786,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -10892,7 +11003,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -10933,7 +11044,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -10949,7 +11060,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -10966,8 +11077,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -11033,7 +11144,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -11489,7 +11600,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -11556,10 +11667,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -11595,13 +11706,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -11633,8 +11744,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -11682,7 +11793,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -11723,7 +11834,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -11739,7 +11850,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -11756,8 +11867,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -11973,7 +12084,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -12014,7 +12125,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -12030,7 +12141,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -12047,8 +12158,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -12114,7 +12225,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -12313,6 +12424,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -12622,7 +12770,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -12689,10 +12837,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -12728,13 +12876,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -12766,8 +12914,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -12815,7 +12963,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -12856,7 +13004,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -12872,7 +13020,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -12889,8 +13037,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13106,7 +13254,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -13147,7 +13295,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -13163,7 +13311,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -13180,8 +13328,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13247,7 +13395,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -13485,8 +13633,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -13553,10 +13701,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -13592,13 +13740,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -13630,8 +13778,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -13679,7 +13827,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -13720,7 +13868,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -13736,7 +13884,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -13753,8 +13901,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -13970,7 +14118,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -14011,7 +14159,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -14027,7 +14175,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -14044,8 +14192,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -14111,7 +14259,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -14567,7 +14715,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -14634,10 +14782,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -14673,13 +14821,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -14711,8 +14859,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -14760,7 +14908,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -14801,7 +14949,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -14817,7 +14965,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -14834,8 +14982,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -15051,7 +15199,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -15092,7 +15240,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -15108,7 +15256,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -15125,8 +15273,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -15192,7 +15340,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -15391,6 +15539,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -15700,7 +15885,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -15767,10 +15952,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -15806,13 +15991,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -15844,8 +16029,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -15893,7 +16078,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -15934,7 +16119,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -15950,7 +16135,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -15967,8 +16152,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -16184,7 +16369,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -16225,7 +16410,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -16241,7 +16426,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -16258,8 +16443,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -16325,7 +16510,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -16563,8 +16748,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -16631,10 +16816,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -16670,13 +16855,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -16708,8 +16893,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -16757,7 +16942,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -16798,7 +16983,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -16814,7 +16999,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -16831,8 +17016,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -17048,7 +17233,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -17089,7 +17274,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -17105,7 +17290,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -17122,8 +17307,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -17189,7 +17374,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -17645,7 +17830,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -17712,10 +17897,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -17751,13 +17936,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -17789,8 +17974,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -17838,7 +18023,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -17879,7 +18064,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -17895,7 +18080,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -17912,8 +18097,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -18129,7 +18314,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -18170,7 +18355,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -18186,7 +18371,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -18203,8 +18388,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -18270,7 +18455,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -18469,6 +18654,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -19289,7 +19511,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -19356,10 +19578,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -19395,13 +19617,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -19433,8 +19655,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -19482,7 +19704,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -19523,7 +19745,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -19539,7 +19761,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -19556,8 +19778,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -19773,7 +19995,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -19814,7 +20036,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -19830,7 +20052,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -19847,8 +20069,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -19914,7 +20136,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -20152,8 +20374,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -20220,10 +20442,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -20259,13 +20481,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -20297,8 +20519,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -20346,7 +20568,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -20387,7 +20609,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -20403,7 +20625,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -20420,8 +20642,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -20637,7 +20859,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -20678,7 +20900,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -20694,7 +20916,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -20711,8 +20933,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -20778,7 +21000,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -21234,7 +21456,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -21301,10 +21523,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -21340,13 +21562,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -21378,8 +21600,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -21427,7 +21649,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -21468,7 +21690,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -21484,7 +21706,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -21501,8 +21723,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -21718,7 +21940,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -21759,7 +21981,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -21775,7 +21997,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -21792,8 +22014,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -21859,7 +22081,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -22058,6 +22280,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -22371,7 +22630,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -22438,10 +22697,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -22477,13 +22736,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -22515,8 +22774,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -22564,7 +22823,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -22605,7 +22864,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -22621,7 +22880,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -22638,8 +22897,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -22855,7 +23114,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -22896,7 +23155,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -22912,7 +23171,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -22929,8 +23188,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -22996,7 +23255,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -23234,8 +23493,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -23302,10 +23561,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -23341,13 +23600,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -23379,8 +23638,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -23428,7 +23687,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -23469,7 +23728,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -23485,7 +23744,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -23502,8 +23761,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -23719,7 +23978,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -23760,7 +24019,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -23776,7 +24035,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -23793,8 +24052,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -23860,7 +24119,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -24316,7 +24575,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -24383,10 +24642,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -24422,13 +24681,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -24460,8 +24719,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -24509,7 +24768,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -24550,7 +24809,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -24566,7 +24825,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -24583,8 +24842,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -24800,7 +25059,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -24841,7 +25100,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -24857,7 +25116,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -24874,8 +25133,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -24941,7 +25200,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -25140,6 +25399,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -25453,7 +25749,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -25520,10 +25816,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -25559,13 +25855,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -25597,8 +25893,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -25646,7 +25942,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -25687,7 +25983,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -25703,7 +25999,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -25720,8 +26016,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -25937,7 +26233,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -25978,7 +26274,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -25994,7 +26290,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26011,8 +26307,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -26078,7 +26374,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -26316,8 +26612,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -26384,10 +26680,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -26423,13 +26719,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -26461,8 +26757,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -26510,7 +26806,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -26551,7 +26847,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -26567,7 +26863,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26584,8 +26880,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -26801,7 +27097,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -26842,7 +27138,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -26858,7 +27154,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -26875,8 +27171,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -26942,7 +27238,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -27398,7 +27694,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -27465,10 +27761,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -27504,13 +27800,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -27542,8 +27838,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -27591,7 +27887,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -27632,7 +27928,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -27648,7 +27944,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -27665,8 +27961,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -27882,7 +28178,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -27923,7 +28219,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -27939,7 +28235,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -27956,8 +28252,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -28023,7 +28319,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -28222,6 +28518,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -28533,7 +28866,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -28600,10 +28933,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -28639,13 +28972,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -28677,8 +29010,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -28726,7 +29059,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -28767,7 +29100,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -28783,7 +29116,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -28800,8 +29133,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -29017,7 +29350,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -29058,7 +29391,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -29074,7 +29407,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -29091,8 +29424,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -29158,7 +29491,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -29396,8 +29729,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -29464,10 +29797,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -29503,13 +29836,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -29541,8 +29874,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -29590,7 +29923,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -29631,7 +29964,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -29647,7 +29980,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -29664,8 +29997,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -29881,7 +30214,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -29922,7 +30255,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -29938,7 +30271,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -29955,8 +30288,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -30022,7 +30355,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -30478,7 +30811,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -30545,10 +30878,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -30584,13 +30917,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -30622,8 +30955,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -30671,7 +31004,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -30712,7 +31045,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -30728,7 +31061,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -30745,8 +31078,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -30962,7 +31295,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -31003,7 +31336,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -31019,7 +31352,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -31036,8 +31369,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -31103,7 +31436,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -31302,6 +31635,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -31611,7 +31981,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -31678,10 +32048,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -31717,13 +32087,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -31755,8 +32125,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -31804,7 +32174,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -31845,7 +32215,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -31861,7 +32231,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -31878,8 +32248,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -32095,7 +32465,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -32136,7 +32506,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -32152,7 +32522,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -32169,8 +32539,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -32236,7 +32606,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -32474,8 +32844,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -32542,10 +32912,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -32581,13 +32951,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -32619,8 +32989,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -32668,7 +33038,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -32709,7 +33079,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -32725,7 +33095,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -32742,8 +33112,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -32959,7 +33329,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -33000,7 +33370,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -33016,7 +33386,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -33033,8 +33403,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -33100,7 +33470,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -33556,7 +33926,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -33623,10 +33993,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -33662,13 +34032,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -33700,8 +34070,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -33749,7 +34119,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -33790,7 +34160,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -33806,7 +34176,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -33823,8 +34193,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -34040,7 +34410,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -34081,7 +34451,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -34097,7 +34467,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -34114,8 +34484,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -34181,7 +34551,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -34380,6 +34750,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. @@ -34689,7 +35096,7 @@

Method Details

], }, "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -34756,10 +35163,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -34795,13 +35202,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -34833,8 +35240,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -34882,7 +35289,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -34923,7 +35330,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -34939,7 +35346,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -34956,8 +35363,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -35173,7 +35580,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -35214,7 +35621,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -35230,7 +35637,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -35247,8 +35654,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -35314,7 +35721,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -35552,8 +35959,8 @@

Method Details

"userFacingMessage": "A String", # The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent. }, "dialog": { # Wrapper around the card body of the dialog. # Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request. - "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "body": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # Input only. Body of the dialog, which is rendered in a modal. + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -35620,10 +36027,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -35659,13 +36066,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -35697,8 +36104,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -35746,7 +36153,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -35787,7 +36194,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -35803,7 +36210,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -35820,8 +36227,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -36037,7 +36444,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -36078,7 +36485,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -36094,7 +36501,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -36111,8 +36518,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -36178,7 +36585,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -36634,7 +37041,7 @@

Method Details

"cardsV2": [ # Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) { # A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Chat apps can create cards with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can create card messages. If your Chat app is not part of Developer Preview Program, it can't create cards with user authentication. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder) "card": { # A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push the total count above 100, that entire section and all following sections are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] } ``` # A card. Maximum size is 32 KB. - "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` + "cardActions": [ # The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` "card_actions": [ { "actionLabel": "Settings", "onClick": { "action": { "functionName": "goToView", "parameters": [ { "key": "viewType", "value": "SETTING" } ], "loadIndicator": "LoadIndicator.SPINNER" } } }, { "actionLabel": "Send Feedback", "onClick": { "openLink": { "url": "https://example.com/feedback" } } } ] ``` { # A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): "actionLabel": "A String", # The label that displays as the action menu item. "onClick": # Object with schema name: GoogleAppsCardV1OnClick # The `onClick` action for this action item. @@ -36701,10 +37108,10 @@

Method Details

"header": "A String", # Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "id": "A String", # A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps. "uncollapsibleWidgetsCount": 42, # The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`. - "widgets": [ # All the widgets in the section. Must contain at least one widget. + "widgets": [ # All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections. { # Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types. "buttonList": # Object with schema name: GoogleAppsCardV1ButtonList # A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` "buttonList": { "buttons": [ { "text": "Edit", "color": { "red": 0, "green": 0, "blue": 1, }, "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` - "carousel": { # A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } }, { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ``` + "carousel": { # Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in carousel" } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text paragraph in carousel" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat): # Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { "carouselCards": [ { "widgets": [ { "textParagraph": { "text": "First text paragraph in the carousel." } } ] }, { "widgets": [ { "textParagraph": { "text": "Second text paragraph in the carousel." } } ] } ] } ``` "carouselCards": [ # A list of cards included in the carousel. { # A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat): "footerWidgets": [ # A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified. @@ -36740,13 +37147,13 @@

Method Details

}, ], }, - "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` + "chipList": { # A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` "chipList": { "chips": [ { "label": "Edit", "disabled": true }, { "icon": { "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { "openLink": { "url": "https://example.com/calendar" } } } ] } ``` "chips": [ # An array of chips. { # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -36778,8 +37185,8 @@

Method Details

{ # A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "altText": "A String", # The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: "Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat". "disabled": True or False, # Whether the chip is in an inactive state and ignores user actions. Defaults to `false`. - "enabled": True or False, # Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead. - "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `text` are set, then the icon appears before the text. + "enabled": True or False, # Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions. + "icon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon image. If both `icon` and `label` are set, then the icon appears before the label. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. "imageType": "A String", # The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon. @@ -36827,7 +37234,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -36868,7 +37275,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -36884,7 +37291,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -36901,8 +37308,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -37118,7 +37525,7 @@

Method Details

"A String", ], }, - "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. + "timezoneOffsetDate": 42, # The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert). "type": "A String", # Whether the widget supports inputting a date, a time, or the date and time. "valueMsEpoch": "A String", # The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). }, @@ -37159,7 +37566,7 @@

Method Details

"weight": 42, # The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**. }, }, - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click `topLabel` or `bottomLabel`. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`). "startIcon": { # An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The icon displayed in front of the text. "altText": "A String", # Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored. "iconUrl": "A String", # Display a custom icon hosted at an HTTPS URL. For example: ``` "iconUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" ``` Supported file types include `.png` and `.jpg`. @@ -37175,7 +37582,7 @@

Method Details

"startIconVerticalAlignment": "A String", # Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat): "switchControl": { # Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget. # A switch widget that a user can click to change its state and trigger an action. "controlType": "A String", # How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): - "name": "A String", # The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "name": "A String", # The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). "onChangeAction": { # An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): # The action to perform when the switch state is changed, such as what function to run. "allWidgetsAreRequired": True or False, # Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): "function": "A String", # A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data). @@ -37192,8 +37599,8 @@

Method Details

"A String", ], }, - "selected": True or False, # When `true`, the switch is selected. - "value": "A String", # The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). + "selected": True or False, # When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`. + "value": "A String", # The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`""`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). }, "text": "A String", # Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). "topLabel": "A String", # The text that appears above `text`. Always truncates. @@ -37259,7 +37666,7 @@

Method Details

"title": "A String", # The grid item's title. }, ], - "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. + "onClick": # Object with schema name: GoogleAppsCardV1OnClick # This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `"grid_item_identifier"`). "title": "A String", # The text that displays in the grid header. }, "horizontalAlignment": "A String", # Specifies whether widgets align to the left, right, or center of a column. @@ -37458,6 +37865,43 @@

Method Details

"deletionMetadata": { # Information about a deleted message. A message is deleted when `delete_time` is set. # Output only. Information about a deleted message. A message is deleted when `delete_time` is set. "deletionType": "A String", # Indicates who deleted the message. }, + "elements": { # Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message. # Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text. + "citations": [ # Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards. + { # Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected. + "citedSources": [ # Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + "id": "A String", # Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters. + }, + ], + "citedSources": [ # Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`. + { # A reference to a source of information. + "footer": { # A footer for a source, used for attribution. # Optional. Additional information to show alongside the snippet in the form of a footer. + "text": "A String", # Optional. The plaintext to display in the footer. Does not support markdown format. + }, + "snippet": { # A snippet object representing an excerpt from a larger corpus. # Optional. Snippet containing information directly from the source. + "imagePreview": { # An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future. # Optional. Image preview of the snippet provided as an input when creating the citation. + "imageUri": "A String", # Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. + }, + "text": "A String", # Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters. + }, + "title": "A String", # Required. The plaintext title of the `CitedSource`. Does not support markdown format. + "uri": "A String", # Required. The URI pointing to the resource referenced by this `CitedSource`. + }, + ], + }, "emojiReactionSummaries": [ # Output only. The list of emoji reaction summaries on the message. { # The number of people who reacted to a message with a specific emoji. "emoji": { # An emoji that is used as a reaction to a message. # Output only. Emoji associated with the reactions. diff --git a/docs/dyn/chromewebstore_v2.publishers.items.html b/docs/dyn/chromewebstore_v2.publishers.items.html index 2f9cb34e14..6237f566d5 100644 --- a/docs/dyn/chromewebstore_v2.publishers.items.html +++ b/docs/dyn/chromewebstore_v2.publishers.items.html @@ -80,12 +80,30 @@

Instance Methods

close()

Close httplib2 connections.

+

+ fetchReviews(name, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

+

Fetch user reviews for an item.

+

+ fetchReviews_next(previous_request, previous_response)

+

Retrieves the next page of results.

fetchStatus(name, x__xgafv=None)

Fetch the status of an item.

+

+ getRatingSummary(name, x__xgafv=None)

+

Gets the RatingSummary for the publishers item.

publish(name, body=None, x__xgafv=None)

Submit the item to be published in the store. The item will be submitted for review unless `skip_review` is set to true, or the item is staged from a previous submission with `publish_type` set to `STAGED_PUBLISH`.

+

+ queryMetrics(name, dimensions=None, metrics=None, pageSize=None, pageToken=None, timeSpec_firstDate_day=None, timeSpec_firstDate_month=None, timeSpec_firstDate_year=None, timeSpec_lastDate_day=None, timeSpec_lastDate_month=None, timeSpec_lastDate_year=None, x__xgafv=None)

+

Query the metrics for an item.

+

+ queryMetrics_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ rollback(name, body=None, x__xgafv=None)

+

Rolls back an item's published CRX package to a specified previously published CRX package and publishes it to all users.

setPublishedDeployPercentage(name, body=None, x__xgafv=None)

Set a higher target deploy percentage for the item's published revision. This will be updated without the item being submitted for review. This is only available to items with over 10,000 seven-day active users.

@@ -119,6 +137,55 @@

Method Details

Close httplib2 connections.
+
+ fetchReviews(name, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Fetch user reviews for an item.
+
+Args:
+  name: string, Required. The item resource name whose reviews are being fetched. Format: publishers/{publisher_id}/items/{item_id} (required)
+  filter: string, Optional. A filter to apply to the reviews. Only equality comparison on rating is supported, e.g. `rating = 5`.
+  orderBy: string, Optional. An optional comma-separated list of fields by which to sort the results. The default sort order is ascending (`asc`). Supported fields are: - `rating`: Supported orders are `asc` (default) and `desc`. - `create_time`: Only `desc` (most recent first) is supported; `desc` must be explicitly specified since the default is `asc`. Example: `rating desc`, `create_time desc`, or `rating desc, create_time desc`.
+  pageSize: integer, Optional. The maximum number of reviews to return. The service may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 200; values above 200 will be coerced to 200.
+  pageToken: string, Optional. A page token, received from a previous `FetchItemReviews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchItemReviews` must match the call that provided the page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for FetchItemReviews.
+  "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+  "reviews": [ # The list of reviews.
+    { # A review written by a user to rate an item in the Chrome Web Store.
+      "authorInfo": { # Info on the author of the review. # Info on the author of the review.
+        "displayName": "A String", # Display name for the author.
+      },
+      "comment": "A String", # Content of the review.
+      "createTime": "A String", # Output only. When the review was posted.
+      "item": "A String", # Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item}
+      "name": "A String", # Identifier. Review resource name. Format: reviews/{reviewId}
+      "rating": 42, # Rating of the item, between 1 and 5.
+    },
+  ],
+}
+
+ +
+ fetchReviews_next(previous_request, previous_response) +
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.
+
+
+
fetchStatus(name, x__xgafv=None)
Fetch the status of an item.
@@ -161,6 +228,33 @@ 

Method Details

}
+
+ getRatingSummary(name, x__xgafv=None) +
Gets the RatingSummary for the publishers item.
+
+Args:
+  name: string, Required. The name of the rating summary to retrieve. Format: publishers/{publisher}/items/{item}/ratingSummary (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Singleton resource for the rating summary of an item.
+  "fiveStarRatingCount": "A String", # The number of five star ratings.
+  "fourStarRatingCount": "A String", # The number of four star ratings.
+  "name": "A String", # Identifier. Item rating summary resource name Format: publishers/{publisher}/items/{item}/ratingSummary
+  "nonEmptyReviewCount": "A String", # The number of ratings with a non-empty review text.
+  "oneStarRatingCount": "A String", # The number of one star ratings.
+  "rating": 3.14, # The rating of the item as shown on the store page, expressed as a double between 1 and 5.
+  "ratingCount": "A String", # The total number of ratings for the item.
+  "threeStarRatingCount": "A String", # The number of three star ratings.
+  "twoStarRatingCount": "A String", # The number of two star ratings.
+}
+
+
publish(name, body=None, x__xgafv=None)
Submit the item to be published in the store. The item will be submitted for review unless `skip_review` is set to true, or the item is staged from a previous submission with `publish_type` set to `STAGED_PUBLISH`.
@@ -204,6 +298,96 @@ 

Method Details

}
+
+ queryMetrics(name, dimensions=None, metrics=None, pageSize=None, pageToken=None, timeSpec_firstDate_day=None, timeSpec_firstDate_month=None, timeSpec_firstDate_year=None, timeSpec_lastDate_day=None, timeSpec_lastDate_month=None, timeSpec_lastDate_year=None, x__xgafv=None) +
Query the metrics for an item.
+
+Args:
+  name: string, Required. The name of the item to query the metrics for. Format: publishers/{publisher}/items/{item} (required)
+  dimensions: string, Optional. Dimensions to slice the metrics by. At most one dimension can be specified. **Supported dimensions:** - os: The operating system of the user. - app-version: The version of the item. - country: The country of the user. - install-source: The source of the install. - install-type: The type of install (from webstore, inline, or other). - language: The language of the user. - enabled: If the item is enabled or disabled. - utm-campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm-term: The UTM term of the user. (repeated)
+  metrics: string, Required. The metrics to query the metric set for. **Supported metrics:** - installs: Count of item installs. - installs-7d: Count of item installs in the last 7 days. - uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - users-7d: Count of 7-day active users of the item. - impressions: Count of item impressions across the entire store front. - page-views: Count of individual views of the item's detail page. (repeated)
+  pageSize: integer, Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be returned. The maximum value is 1000; Values above 1000 will be coerced to 1000.
+  pageToken: string, Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.
+  timeSpec_firstDate_day: integer, Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+  timeSpec_firstDate_month: integer, Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+  timeSpec_firstDate_year: integer, Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+  timeSpec_lastDate_day: integer, Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+  timeSpec_lastDate_month: integer, Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+  timeSpec_lastDate_year: integer, Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for QueryItemMetrics.
+  "metricRows": [ # The metric rows.
+    { # A single row of metrics and dimension values.
+      "date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of the record.
+        "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+        "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+        "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+      },
+      "dimensionValues": [ # Dimension value columns for the row.
+        "A String",
+      ],
+      "metricValues": [ # Metric columns for the row.
+        { # Represents the value of a single metric
+          "metric": "A String", # The name of the metric
+          "uniqueUserCount": "A String", # The unique user count associated with the metric (if applicable).
+          "value": "A String", # The value of the metric.
+        },
+      ],
+    },
+  ],
+  "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+}
+
+ +
+ queryMetrics_next(previous_request, previous_response) +
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.
+
+
+ +
+ rollback(name, body=None, x__xgafv=None) +
Rolls back an item's published CRX package to a specified previously published CRX package and publishes it to all users.
+
+Args:
+  name: string, Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for RollbackItem.
+  "newVersion": "A String", # Required. The new version to assign to the package being rolled back to. This effectively "rolls forward" the previous package by giving it a higher version number than the currently-published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 or 1.2 but not 1.0.
+  "rollbackReason": "A String", # Required. The reason for the rollback that will be used for internal auditing and developer dashboard visibility.
+  "targetCrxVersion": "A String", # Required. The target previously published CRX version to roll back to. If unset, defaults to the last published CRX version.
+  "validateOnly": True or False, # Optional. If set, validate and dry run the request but do not actually initiate the rollback
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for `RollbackItem`.
+}
+
+
setPublishedDeployPercentage(name, body=None, x__xgafv=None)
Set a higher target deploy percentage for the item's published revision. This will be updated without the item being submitted for review. This is only available to items with over 10,000 seven-day active users.
diff --git a/docs/dyn/cloudbuild_v1.projects.builds.html b/docs/dyn/cloudbuild_v1.projects.builds.html
index c26f491669..9c1bb63609 100644
--- a/docs/dyn/cloudbuild_v1.projects.builds.html
+++ b/docs/dyn/cloudbuild_v1.projects.builds.html
@@ -76,7 +76,7 @@ 

Cloud Build API . approve(name, body=None, x__xgafv=None)

-

Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

+

Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.

cancel(projectId, id, body=None, x__xgafv=None)

Cancels a build in progress. Note: This method only cancels builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:cancel. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:cancel`.

@@ -101,7 +101,7 @@

Instance Methods

Method Details

approve(name, body=None, x__xgafv=None) -
Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
+  
Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.
 
 Args:
   name: string, Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}" (required)
@@ -322,6 +322,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -816,6 +819,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1341,6 +1347,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1841,6 +1850,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. diff --git a/docs/dyn/cloudbuild_v1.projects.locations.builds.html b/docs/dyn/cloudbuild_v1.projects.locations.builds.html index e44df78b8b..f7689f1fc3 100644 --- a/docs/dyn/cloudbuild_v1.projects.locations.builds.html +++ b/docs/dyn/cloudbuild_v1.projects.locations.builds.html @@ -76,7 +76,7 @@

Cloud Build API . approve(name, body=None, x__xgafv=None)

-

Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

+

Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.

cancel(name, body=None, x__xgafv=None)

Cancels a build in progress. Note: This method only cancels builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:cancel. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:cancel`.

@@ -101,7 +101,7 @@

Instance Methods

Method Details

approve(name, body=None, x__xgafv=None) -
Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.
+  
Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.
 
 Args:
   name: string, Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}" (required)
@@ -321,6 +321,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -815,6 +818,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1340,6 +1346,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1840,6 +1849,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. diff --git a/docs/dyn/cloudbuild_v1.projects.locations.triggers.html b/docs/dyn/cloudbuild_v1.projects.locations.triggers.html index 304c9102f9..570d3a6d0c 100644 --- a/docs/dyn/cloudbuild_v1.projects.locations.triggers.html +++ b/docs/dyn/cloudbuild_v1.projects.locations.triggers.html @@ -79,22 +79,22 @@

Instance Methods

Close httplib2 connections.

create(parent, body, projectId=None, x__xgafv=None)

-

Creates a new `BuildTrigger`.

+

Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.

delete(name, projectId=None, triggerId=None, x__xgafv=None)

-

Deletes a `BuildTrigger` by its project ID and trigger ID.

+

Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

get(name, projectId=None, triggerId=None, x__xgafv=None)

-

Returns information about a `BuildTrigger`.

+

Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

list(parent, pageSize=None, pageToken=None, projectId=None, x__xgafv=None)

-

Lists existing `BuildTrigger`s.

+

Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.

list_next(previous_request, previous_response)

Retrieves the next page of results.

patch(resourceName, body, projectId=None, triggerId=None, updateMask=None, x__xgafv=None)

-

Updates a `BuildTrigger` by its project ID and trigger ID.

+

Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

run(name, body=None, x__xgafv=None)

Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

@@ -109,7 +109,7 @@

Method Details

create(parent, body, projectId=None, x__xgafv=None) -
Creates a new `BuildTrigger`.
+  
Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.
 
 Args:
   parent: string, The parent resource where this trigger will be created. Format: `projects/{project}/locations/{location}` (required)
@@ -310,6 +310,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -948,6 +951,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1386,7 +1392,7 @@

Method Details

delete(name, projectId=None, triggerId=None, x__xgafv=None) -
Deletes a `BuildTrigger` by its project ID and trigger ID.
+  
Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   name: string, The name of the `Trigger` to delete. Format: `projects/{project}/locations/{location}/triggers/{trigger}` (required)
@@ -1406,7 +1412,7 @@ 

Method Details

get(name, projectId=None, triggerId=None, x__xgafv=None) -
Returns information about a `BuildTrigger`.
+  
Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   name: string, The name of the `Trigger` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}` (required)
@@ -1614,6 +1620,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -2052,7 +2061,7 @@

Method Details

list(parent, pageSize=None, pageToken=None, projectId=None, x__xgafv=None) -
Lists existing `BuildTrigger`s.
+  
Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.
 
 Args:
   parent: string, The parent of the collection of `Triggers`. Format: `projects/{project}/locations/{location}` (required)
@@ -2264,6 +2273,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -2718,7 +2730,7 @@

Method Details

patch(resourceName, body, projectId=None, triggerId=None, updateMask=None, x__xgafv=None) -
Updates a `BuildTrigger` by its project ID and trigger ID.
+  
Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   resourceName: string, The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service. (required)
@@ -2919,6 +2931,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -3559,6 +3574,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. diff --git a/docs/dyn/cloudbuild_v1.projects.locations.workerPools.html b/docs/dyn/cloudbuild_v1.projects.locations.workerPools.html index 229fa7d7df..1eee1765cb 100644 --- a/docs/dyn/cloudbuild_v1.projects.locations.workerPools.html +++ b/docs/dyn/cloudbuild_v1.projects.locations.workerPools.html @@ -134,6 +134,9 @@

Method Details

"diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size. "enableNestedVirtualization": True or False, # Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled. "machineType": "A String", # Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. + "A String", + ], "workerRelease": "A String", # Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. }, }, @@ -249,6 +252,9 @@

Method Details

"diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size. "enableNestedVirtualization": True or False, # Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled. "machineType": "A String", # Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. + "A String", + ], "workerRelease": "A String", # Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. }, }, @@ -301,6 +307,9 @@

Method Details

"diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size. "enableNestedVirtualization": True or False, # Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled. "machineType": "A String", # Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. + "A String", + ], "workerRelease": "A String", # Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. }, }, @@ -359,6 +368,9 @@

Method Details

"diskSizeGb": "A String", # Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size. "enableNestedVirtualization": True or False, # Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled. "machineType": "A String", # Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. + "A String", + ], "workerRelease": "A String", # Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. }, }, diff --git a/docs/dyn/cloudbuild_v1.projects.triggers.html b/docs/dyn/cloudbuild_v1.projects.triggers.html index e4d3d25ee1..b35da8b107 100644 --- a/docs/dyn/cloudbuild_v1.projects.triggers.html +++ b/docs/dyn/cloudbuild_v1.projects.triggers.html @@ -79,22 +79,22 @@

Instance Methods

Close httplib2 connections.

create(projectId, body, parent=None, x__xgafv=None)

-

Creates a new `BuildTrigger`.

+

Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.

delete(projectId, triggerId, name=None, x__xgafv=None)

-

Deletes a `BuildTrigger` by its project ID and trigger ID.

+

Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

get(projectId, triggerId, name=None, x__xgafv=None)

-

Returns information about a `BuildTrigger`.

+

Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

list(projectId, pageSize=None, pageToken=None, parent=None, x__xgafv=None)

-

Lists existing `BuildTrigger`s.

+

Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.

list_next(previous_request, previous_response)

Retrieves the next page of results.

patch(projectId, triggerId, body, updateMask=None, x__xgafv=None)

-

Updates a `BuildTrigger` by its project ID and trigger ID.

+

Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.

run(projectId, triggerId, body=None, name=None, x__xgafv=None)

Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

@@ -109,7 +109,7 @@

Method Details

create(projectId, body, parent=None, x__xgafv=None) -
Creates a new `BuildTrigger`.
+  
Creates a new `BuildTrigger`. Note: This method only creates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.
 
 Args:
   projectId: string, Required. ID of the project for which to configure automatic builds. (required)
@@ -310,6 +310,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -948,6 +951,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -1386,7 +1392,7 @@

Method Details

delete(projectId, triggerId, name=None, x__xgafv=None) -
Deletes a `BuildTrigger` by its project ID and trigger ID.
+  
Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   projectId: string, Required. ID of the project that owns the trigger. (required)
@@ -1406,7 +1412,7 @@ 

Method Details

get(projectId, triggerId, name=None, x__xgafv=None) -
Returns information about a `BuildTrigger`.
+  
Returns information about a `BuildTrigger`. Note: This method only gets triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   projectId: string, Required. ID of the project that owns the trigger. (required)
@@ -1614,6 +1620,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -2052,7 +2061,7 @@

Method Details

list(projectId, pageSize=None, pageToken=None, parent=None, x__xgafv=None) -
Lists existing `BuildTrigger`s.
+  
Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.
 
 Args:
   projectId: string, Required. ID of the project for which to list BuildTriggers. (required)
@@ -2264,6 +2273,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -2718,7 +2730,7 @@

Method Details

patch(projectId, triggerId, body, updateMask=None, x__xgafv=None) -
Updates a `BuildTrigger` by its project ID and trigger ID.
+  
Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the "global" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.
 
 Args:
   projectId: string, Required. ID of the project that owns the trigger. (required)
@@ -2920,6 +2932,9 @@ 

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. @@ -3558,6 +3573,9 @@

Method Details

"workerRelease": "A String", # Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. }, "pubsubTopic": "A String", # Optional. Option to specify the Pub/Sub topic to receive build status updates. + "rankedMachineSeries": [ # Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM. + "A String", + ], "requestedVerifyOption": "A String", # Requested verifiability options. "resolvedWorkerRelease": "A String", # Output only. Worker release resolved from the release channel. "secretEnv": [ # A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. diff --git a/docs/dyn/composer_v1.projects.locations.imageVersions.html b/docs/dyn/composer_v1.projects.locations.imageVersions.html index 197341d553..f8922c3376 100644 --- a/docs/dyn/composer_v1.projects.locations.imageVersions.html +++ b/docs/dyn/composer_v1.projects.locations.imageVersions.html @@ -110,6 +110,7 @@

Method Details

"imageVersions": [ # The list of supported ImageVersions in a location. { # ImageVersion information "creationDisabled": True or False, # Whether it is impossible to create an environment with the image version. + "devModeSupported": True or False, # Whether it is possible to create an environment in the `DEVELOPMENT` mode with the image version. "imageVersionId": "A String", # The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" "isDefault": True or False, # Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. "releaseDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of the version release. diff --git a/docs/dyn/composer_v1beta1.projects.locations.imageVersions.html b/docs/dyn/composer_v1beta1.projects.locations.imageVersions.html index d12db673f3..06ccac8155 100644 --- a/docs/dyn/composer_v1beta1.projects.locations.imageVersions.html +++ b/docs/dyn/composer_v1beta1.projects.locations.imageVersions.html @@ -110,6 +110,7 @@

Method Details

"imageVersions": [ # The list of supported ImageVersions in a location. { # Image Version information "creationDisabled": True or False, # Whether it is impossible to create an environment with the image version. + "devModeSupported": True or False, # Whether it is possible to create an environment in the `DEVELOPMENT` mode with the image version. "imageVersionId": "A String", # The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" "isDefault": True or False, # Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. "releaseDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of the version release. diff --git a/docs/dyn/compute_alpha.disks.html b/docs/dyn/compute_alpha.disks.html index 7513685de6..231e16f7e6 100644 --- a/docs/dyn/compute_alpha.disks.html +++ b/docs/dyn/compute_alpha.disks.html @@ -2514,7 +2514,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.instanceTemplates.html b/docs/dyn/compute_alpha.instanceTemplates.html index 0212e33450..51b65de660 100644 --- a/docs/dyn/compute_alpha.instanceTemplates.html +++ b/docs/dyn/compute_alpha.instanceTemplates.html @@ -292,10 +292,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1935,10 +1937,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3546,10 +3550,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -5184,10 +5190,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_alpha.instances.html b/docs/dyn/compute_alpha.instances.html index a7e12ef939..4186a26b73 100644 --- a/docs/dyn/compute_alpha.instances.html +++ b/docs/dyn/compute_alpha.instances.html @@ -1668,10 +1668,12 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -4758,10 +4760,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -7573,10 +7577,12 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -10905,10 +10911,12 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -12936,10 +12944,12 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -24329,10 +24339,12 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. diff --git a/docs/dyn/compute_alpha.machineImages.html b/docs/dyn/compute_alpha.machineImages.html index b38d743096..3514488885 100644 --- a/docs/dyn/compute_alpha.machineImages.html +++ b/docs/dyn/compute_alpha.machineImages.html @@ -487,10 +487,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1690,12 +1692,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values @@ -2870,10 +2872,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -4073,12 +4077,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values @@ -5276,10 +5280,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -6479,12 +6485,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values diff --git a/docs/dyn/compute_alpha.recoverableSnapshots.html b/docs/dyn/compute_alpha.recoverableSnapshots.html index 8c298f82a2..c163e30764 100644 --- a/docs/dyn/compute_alpha.recoverableSnapshots.html +++ b/docs/dyn/compute_alpha.recoverableSnapshots.html @@ -397,7 +397,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1137,7 +1138,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1933,7 +1935,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.regionDisks.html b/docs/dyn/compute_alpha.regionDisks.html index b15b7551ed..841247d7ef 100644 --- a/docs/dyn/compute_alpha.regionDisks.html +++ b/docs/dyn/compute_alpha.regionDisks.html @@ -1027,7 +1027,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.regionInstanceTemplates.html b/docs/dyn/compute_alpha.regionInstanceTemplates.html index da6bd1ffca..440d6a2d60 100644 --- a/docs/dyn/compute_alpha.regionInstanceTemplates.html +++ b/docs/dyn/compute_alpha.regionInstanceTemplates.html @@ -499,10 +499,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1740,10 +1742,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3379,10 +3383,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_alpha.regionInstances.html b/docs/dyn/compute_alpha.regionInstances.html index 5cff66a2c0..01206def45 100644 --- a/docs/dyn/compute_alpha.regionInstances.html +++ b/docs/dyn/compute_alpha.regionInstances.html @@ -684,10 +684,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_alpha.regionRecoverableSnapshots.html b/docs/dyn/compute_alpha.regionRecoverableSnapshots.html index 3604004204..3d2a292664 100644 --- a/docs/dyn/compute_alpha.regionRecoverableSnapshots.html +++ b/docs/dyn/compute_alpha.regionRecoverableSnapshots.html @@ -610,7 +610,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1409,7 +1410,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.regionSnapshots.html b/docs/dyn/compute_alpha.regionSnapshots.html index de1db5423d..1e28bdb50f 100644 --- a/docs/dyn/compute_alpha.regionSnapshots.html +++ b/docs/dyn/compute_alpha.regionSnapshots.html @@ -634,7 +634,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1357,7 +1358,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2104,7 +2106,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.regionTargetHttpsProxies.html b/docs/dyn/compute_alpha.regionTargetHttpsProxies.html index 48e67a26d3..a0c1ea25b5 100644 --- a/docs/dyn/compute_alpha.regionTargetHttpsProxies.html +++ b/docs/dyn/compute_alpha.regionTargetHttpsProxies.html @@ -576,7 +576,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -768,7 +768,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1353,7 +1353,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1597,7 +1597,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_alpha.snapshots.html b/docs/dyn/compute_alpha.snapshots.html index 8137586bde..53c079e86e 100644 --- a/docs/dyn/compute_alpha.snapshots.html +++ b/docs/dyn/compute_alpha.snapshots.html @@ -420,7 +420,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1180,7 +1181,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1926,7 +1928,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2672,7 +2675,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_alpha.targetHttpsProxies.html b/docs/dyn/compute_alpha.targetHttpsProxies.html index b4aacb9162..8c95ada08f 100644 --- a/docs/dyn/compute_alpha.targetHttpsProxies.html +++ b/docs/dyn/compute_alpha.targetHttpsProxies.html @@ -374,7 +374,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -965,7 +965,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1156,7 +1156,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1740,7 +1740,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1983,7 +1983,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_alpha.zoneQueuedResources.html b/docs/dyn/compute_alpha.zoneQueuedResources.html index d1c6eae90f..7ed398b2b5 100644 --- a/docs/dyn/compute_alpha.zoneQueuedResources.html +++ b/docs/dyn/compute_alpha.zoneQueuedResources.html @@ -812,10 +812,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3494,10 +3496,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -5458,10 +5462,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -7815,10 +7821,12 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. - "confidentialTpmType": "A String", - "sevSnpIrqMode": "A String", + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_beta.disks.html b/docs/dyn/compute_beta.disks.html index dcf6a6a611..dced3ce17b 100644 --- a/docs/dyn/compute_beta.disks.html +++ b/docs/dyn/compute_beta.disks.html @@ -2149,7 +2149,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_beta.instanceTemplates.html b/docs/dyn/compute_beta.instanceTemplates.html index 127aeb8658..5010e28859 100644 --- a/docs/dyn/compute_beta.instanceTemplates.html +++ b/docs/dyn/compute_beta.instanceTemplates.html @@ -290,6 +290,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1822,6 +1824,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3329,6 +3333,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -4856,6 +4862,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_beta.instances.html b/docs/dyn/compute_beta.instances.html index 081a8fb7bf..876e85f5a1 100644 --- a/docs/dyn/compute_beta.instances.html +++ b/docs/dyn/compute_beta.instances.html @@ -1603,6 +1603,8 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -4434,6 +4436,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -7106,6 +7110,8 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -10164,6 +10170,8 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -11948,6 +11956,8 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -22831,6 +22841,8 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. diff --git a/docs/dyn/compute_beta.machineImages.html b/docs/dyn/compute_beta.machineImages.html index 433391d697..484d2d26cd 100644 --- a/docs/dyn/compute_beta.machineImages.html +++ b/docs/dyn/compute_beta.machineImages.html @@ -478,6 +478,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1580,12 +1582,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values @@ -2684,6 +2686,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3786,12 +3790,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values @@ -4906,6 +4910,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -6008,12 +6014,12 @@

Method Details

# 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. - "excludedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # excluded from the new machine image. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. "A String", ], - "includedDisks": [ # Input only. [Input Only] Specifies the list of disk device names that must be - # included with the new machine image. + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. "A String", ], "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values diff --git a/docs/dyn/compute_beta.recoverableSnapshots.html b/docs/dyn/compute_beta.recoverableSnapshots.html index 2662bde070..3d3b2cd840 100644 --- a/docs/dyn/compute_beta.recoverableSnapshots.html +++ b/docs/dyn/compute_beta.recoverableSnapshots.html @@ -601,7 +601,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1397,7 +1398,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_beta.regionDisks.html b/docs/dyn/compute_beta.regionDisks.html index 6e5f6a0dc7..a9c6ea0872 100644 --- a/docs/dyn/compute_beta.regionDisks.html +++ b/docs/dyn/compute_beta.regionDisks.html @@ -1000,7 +1000,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_beta.regionInstanceTemplates.html b/docs/dyn/compute_beta.regionInstanceTemplates.html index 7d9252c5ab..ea2d268e62 100644 --- a/docs/dyn/compute_beta.regionInstanceTemplates.html +++ b/docs/dyn/compute_beta.regionInstanceTemplates.html @@ -490,6 +490,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1627,6 +1629,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3155,6 +3159,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_beta.regionInstances.html b/docs/dyn/compute_beta.regionInstances.html index ad75d03f1b..65ae5c2684 100644 --- a/docs/dyn/compute_beta.regionInstances.html +++ b/docs/dyn/compute_beta.regionInstances.html @@ -676,6 +676,8 @@

Method Details

# Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_beta.regionSnapshots.html b/docs/dyn/compute_beta.regionSnapshots.html index bd381bc133..27431b105e 100644 --- a/docs/dyn/compute_beta.regionSnapshots.html +++ b/docs/dyn/compute_beta.regionSnapshots.html @@ -620,7 +620,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1336,7 +1337,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2069,7 +2071,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_beta.regionTargetHttpsProxies.html b/docs/dyn/compute_beta.regionTargetHttpsProxies.html index ab26ceed28..8cae86daba 100644 --- a/docs/dyn/compute_beta.regionTargetHttpsProxies.html +++ b/docs/dyn/compute_beta.regionTargetHttpsProxies.html @@ -568,7 +568,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -759,7 +759,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1336,7 +1336,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1579,7 +1579,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_beta.snapshots.html b/docs/dyn/compute_beta.snapshots.html index 9f8f3c925a..f010aa21c4 100644 --- a/docs/dyn/compute_beta.snapshots.html +++ b/docs/dyn/compute_beta.snapshots.html @@ -413,7 +413,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1159,7 +1160,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1898,7 +1900,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2630,7 +2633,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_beta.targetHttpsProxies.html b/docs/dyn/compute_beta.targetHttpsProxies.html index 847cf2a7a6..9d2e9f0576 100644 --- a/docs/dyn/compute_beta.targetHttpsProxies.html +++ b/docs/dyn/compute_beta.targetHttpsProxies.html @@ -373,7 +373,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -956,7 +956,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1146,7 +1146,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1722,7 +1722,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1964,7 +1964,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_preview.disks.html b/docs/dyn/compute_preview.disks.html index c70404a195..1bdcf1bb2c 100644 --- a/docs/dyn/compute_preview.disks.html +++ b/docs/dyn/compute_preview.disks.html @@ -2068,7 +2068,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_preview.folderRolloutPlans.html b/docs/dyn/compute_preview.folderRolloutPlans.html new file mode 100644 index 0000000000..8f57f5ea5d --- /dev/null +++ b/docs/dyn/compute_preview.folderRolloutPlans.html @@ -0,0 +1,1178 @@ + + + +

Compute Engine API . folderRolloutPlans

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ delete(folder, rolloutPlan, requestId=None, x__xgafv=None)

+

Deletes a FolderRolloutPlan.

+

+ get(folder, rolloutPlan, x__xgafv=None)

+

Gets details of a single folder-scoped RolloutPlan.

+

+ insert(folder, body=None, requestId=None, x__xgafv=None)

+

Creates a new RolloutPlan in a given folder and location.

+

+ list(folder, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None)

+

Lists FolderRolloutPlans in a given folder and location.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ delete(folder, rolloutPlan, requestId=None, x__xgafv=None) +
Deletes a FolderRolloutPlan.
+
+Args:
+  folder: string, Folder ID for this request. (required)
+  rolloutPlan: string, Name of the FolderRolloutPlan 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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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(folder, rolloutPlan, x__xgafv=None) +
Gets details of a single folder-scoped RolloutPlan.
+
+Args:
+  folder: string, Folder ID for this request. (required)
+  rolloutPlan: string, Name of the persistent rollout plan 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:
+
+    { # RolloutPlan resource.
+    #
+    # A RolloutPlan is the customer-defined strategy to divide a large-scale change
+    # into smaller increments, referred to as "waves". Each wave targets a specific
+    # portion of the overall affected area and defines criteria that must be met
+    # before progressing to the subsequent wave.
+  "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
+      # 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#rolloutPlan", # Output only. [Output Only] Type of the resource. Always compute#rolloutPlan
+      # for rolloutPlans.
+  "locationScope": "A String", # The location scope of the rollout plan. If not specified, the location
+      # scope is considered as ZONAL.
+  "name": "A String", # 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.
+  "selfLink": "A String", # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
+  "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id.
+  "waves": [ # Required. The waves included in this rollout plan.
+    { # A single wave in a rollout plan.
+      "displayName": "A String", # Optional. The display name of this wave of the rollout plan.
+      "number": "A String", # Output only. The wave number.
+      "orchestrationOptions": { # Options to control the pace of orchestration of a wave. These options are # Optional. The orchestration options for this wave.
+          # required only if the resource being rolled out follows the Orchestrated
+          # pattern.
+        "delays": [ # Optional. Delays, if any, to be added between batches of projects. We allow
+            # multiple Delays to be specified, letting users set separate delays
+            # between batches of projects corresponding to different locations and
+            # batches of projects corresponding to the same location.
+          { # Options to control the delay, if any, between batches of projects.
+            "delimiter": "A String", # Optional. Controls whether the delay should only be added between batches of
+                # projects corresponding to different locations, or also between
+                # batches of projects corresponding to the same location.
+                #
+                # Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
+            "duration": "A String", # Optional. The duration of the delay, if any, to be added between batches of
+                # projects. A zero duration corresponds to no delay.
+            "type": "A String", # Optional. Controls whether the specified duration is to be added at the end of
+                # each batch, or if the total processing time for each batch will be
+                # padded if needed to meet the specified duration.
+                #
+                # Must be set to TYPE_UNSPECIFIED if no delay is to be added.
+          },
+        ],
+        "maxConcurrentLocations": "A String", # Optional. Maximum number of locations to be orchestrated in parallel.
+        "maxConcurrentResourcesPerLocation": "A String", # Optional. Maximum number of resources to be orchestrated per location in
+            # parallel.
+      },
+      "selectors": [ # Required. The selectors for this wave. There is a logical AND between each selector
+          # defined in a wave, so a resource must satisfy the criteria of *all* the
+          # specified selectors to be in scope for the wave.
+        { # A selector which specifies what resource(s) are included in a given wave.
+          "locationSelector": { # Roll out to resources by location. # Optional. Roll out to resources by Cloud locations.
+            "includedLocations": [ # Optional. Example: "us-central1-a"
+              "A String",
+            ],
+          },
+          "resourceHierarchySelector": { # Roll out to resources by Cloud Resource Manager resource hierarchy # Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
+              # nodes such as projects, folders, orgs.
+            "includedFolders": [ # Optional. Format: "folders/{folder_id}"
+              "A String",
+            ],
+            "includedOrganizations": [ # Optional. Format: "organizations/{organization_id}"
+              "A String",
+            ],
+            "includedProjects": [ # Optional. Format: "projects/{project_id}"
+              "A String",
+            ],
+          },
+        },
+      ],
+      "validation": { # The validation to be performed before progressing to the next wave. # Required. The validation to be performed at the end of this wave.
+        "timeBasedValidationMetadata": { # Metadata required if type = "time". # Optional. Metadata required if type = "time".
+          "waitDuration": "A String", # Optional. The duration that the system waits in between waves. This wait starts
+              # after all changes in the wave are rolled out.
+        },
+        "type": "A String", # Required. The type of the validation. If a type of validation is associated with
+            # a metadata object, the appropriate metadata field mapping to the
+            # validation type must be provided in the validation message. Possible
+            # values are in quotes below alongside an explanation:
+            #   "manual": The system waits for an end-user approval API before
+            #     progressing to the next wave.
+            #   "time": The system waits for a user specified duration before
+            #     progressing to the next wave. TimeBasedValidation must be provided.
+      },
+    },
+  ],
+}
+
+ +
+ insert(folder, body=None, requestId=None, x__xgafv=None) +
Creates a new RolloutPlan in a given folder and location.
+
+Args:
+  folder: string, Folder ID for this request. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # RolloutPlan resource.
+    # 
+    # A RolloutPlan is the customer-defined strategy to divide a large-scale change
+    # into smaller increments, referred to as "waves". Each wave targets a specific
+    # portion of the overall affected area and defines criteria that must be met
+    # before progressing to the subsequent wave.
+  "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
+      # 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#rolloutPlan", # Output only. [Output Only] Type of the resource. Always compute#rolloutPlan
+      # for rolloutPlans.
+  "locationScope": "A String", # The location scope of the rollout plan. If not specified, the location
+      # scope is considered as ZONAL.
+  "name": "A String", # 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.
+  "selfLink": "A String", # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
+  "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id.
+  "waves": [ # Required. The waves included in this rollout plan.
+    { # A single wave in a rollout plan.
+      "displayName": "A String", # Optional. The display name of this wave of the rollout plan.
+      "number": "A String", # Output only. The wave number.
+      "orchestrationOptions": { # Options to control the pace of orchestration of a wave. These options are # Optional. The orchestration options for this wave.
+          # required only if the resource being rolled out follows the Orchestrated
+          # pattern.
+        "delays": [ # Optional. Delays, if any, to be added between batches of projects. We allow
+            # multiple Delays to be specified, letting users set separate delays
+            # between batches of projects corresponding to different locations and
+            # batches of projects corresponding to the same location.
+          { # Options to control the delay, if any, between batches of projects.
+            "delimiter": "A String", # Optional. Controls whether the delay should only be added between batches of
+                # projects corresponding to different locations, or also between
+                # batches of projects corresponding to the same location.
+                #
+                # Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
+            "duration": "A String", # Optional. The duration of the delay, if any, to be added between batches of
+                # projects. A zero duration corresponds to no delay.
+            "type": "A String", # Optional. Controls whether the specified duration is to be added at the end of
+                # each batch, or if the total processing time for each batch will be
+                # padded if needed to meet the specified duration.
+                #
+                # Must be set to TYPE_UNSPECIFIED if no delay is to be added.
+          },
+        ],
+        "maxConcurrentLocations": "A String", # Optional. Maximum number of locations to be orchestrated in parallel.
+        "maxConcurrentResourcesPerLocation": "A String", # Optional. Maximum number of resources to be orchestrated per location in
+            # parallel.
+      },
+      "selectors": [ # Required. The selectors for this wave. There is a logical AND between each selector
+          # defined in a wave, so a resource must satisfy the criteria of *all* the
+          # specified selectors to be in scope for the wave.
+        { # A selector which specifies what resource(s) are included in a given wave.
+          "locationSelector": { # Roll out to resources by location. # Optional. Roll out to resources by Cloud locations.
+            "includedLocations": [ # Optional. Example: "us-central1-a"
+              "A String",
+            ],
+          },
+          "resourceHierarchySelector": { # Roll out to resources by Cloud Resource Manager resource hierarchy # Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
+              # nodes such as projects, folders, orgs.
+            "includedFolders": [ # Optional. Format: "folders/{folder_id}"
+              "A String",
+            ],
+            "includedOrganizations": [ # Optional. Format: "organizations/{organization_id}"
+              "A String",
+            ],
+            "includedProjects": [ # Optional. Format: "projects/{project_id}"
+              "A String",
+            ],
+          },
+        },
+      ],
+      "validation": { # The validation to be performed before progressing to the next wave. # Required. The validation to be performed at the end of this wave.
+        "timeBasedValidationMetadata": { # Metadata required if type = "time". # Optional. Metadata required if type = "time".
+          "waitDuration": "A String", # Optional. The duration that the system waits in between waves. This wait starts
+              # after all changes in the wave are rolled out.
+        },
+        "type": "A String", # Required. The type of the validation. If a type of validation is associated with
+            # a metadata object, the appropriate metadata field mapping to the
+            # validation type must be provided in the validation message. Possible
+            # values are in quotes below alongside an explanation:
+            #   "manual": The system waits for an end-user approval API before
+            #     progressing to the next wave.
+            #   "time": The system waits for a user specified duration before
+            #     progressing to the next wave. TimeBasedValidation must be provided.
+      },
+    },
+  ],
+}
+
+  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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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(folder, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None) +
Lists FolderRolloutPlans in a given folder and location.
+
+Args:
+  folder: string, Folder 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.
+  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 RolloutPlan resources.
+  "etag": "A String",
+  "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+  "items": [ # A list of RolloutPlan resources.
+    { # RolloutPlan resource.
+        #
+        # A RolloutPlan is the customer-defined strategy to divide a large-scale change
+        # into smaller increments, referred to as "waves". Each wave targets a specific
+        # portion of the overall affected area and defines criteria that must be met
+        # before progressing to the subsequent wave.
+      "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
+          # 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#rolloutPlan", # Output only. [Output Only] Type of the resource. Always compute#rolloutPlan
+          # for rolloutPlans.
+      "locationScope": "A String", # The location scope of the rollout plan. If not specified, the location
+          # scope is considered as ZONAL.
+      "name": "A String", # 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.
+      "selfLink": "A String", # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
+      "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id.
+      "waves": [ # Required. The waves included in this rollout plan.
+        { # A single wave in a rollout plan.
+          "displayName": "A String", # Optional. The display name of this wave of the rollout plan.
+          "number": "A String", # Output only. The wave number.
+          "orchestrationOptions": { # Options to control the pace of orchestration of a wave. These options are # Optional. The orchestration options for this wave.
+              # required only if the resource being rolled out follows the Orchestrated
+              # pattern.
+            "delays": [ # Optional. Delays, if any, to be added between batches of projects. We allow
+                # multiple Delays to be specified, letting users set separate delays
+                # between batches of projects corresponding to different locations and
+                # batches of projects corresponding to the same location.
+              { # Options to control the delay, if any, between batches of projects.
+                "delimiter": "A String", # Optional. Controls whether the delay should only be added between batches of
+                    # projects corresponding to different locations, or also between
+                    # batches of projects corresponding to the same location.
+                    #
+                    # Must be set to DELIMITER_UNSPECIFIED if no delay is to be added.
+                "duration": "A String", # Optional. The duration of the delay, if any, to be added between batches of
+                    # projects. A zero duration corresponds to no delay.
+                "type": "A String", # Optional. Controls whether the specified duration is to be added at the end of
+                    # each batch, or if the total processing time for each batch will be
+                    # padded if needed to meet the specified duration.
+                    #
+                    # Must be set to TYPE_UNSPECIFIED if no delay is to be added.
+              },
+            ],
+            "maxConcurrentLocations": "A String", # Optional. Maximum number of locations to be orchestrated in parallel.
+            "maxConcurrentResourcesPerLocation": "A String", # Optional. Maximum number of resources to be orchestrated per location in
+                # parallel.
+          },
+          "selectors": [ # Required. The selectors for this wave. There is a logical AND between each selector
+              # defined in a wave, so a resource must satisfy the criteria of *all* the
+              # specified selectors to be in scope for the wave.
+            { # A selector which specifies what resource(s) are included in a given wave.
+              "locationSelector": { # Roll out to resources by location. # Optional. Roll out to resources by Cloud locations.
+                "includedLocations": [ # Optional. Example: "us-central1-a"
+                  "A String",
+                ],
+              },
+              "resourceHierarchySelector": { # Roll out to resources by Cloud Resource Manager resource hierarchy # Optional. Roll out to resources by Cloud Resource Manager resource hierarchy.
+                  # nodes such as projects, folders, orgs.
+                "includedFolders": [ # Optional. Format: "folders/{folder_id}"
+                  "A String",
+                ],
+                "includedOrganizations": [ # Optional. Format: "organizations/{organization_id}"
+                  "A String",
+                ],
+                "includedProjects": [ # Optional. Format: "projects/{project_id}"
+                  "A String",
+                ],
+              },
+            },
+          ],
+          "validation": { # The validation to be performed before progressing to the next wave. # Required. The validation to be performed at the end of this wave.
+            "timeBasedValidationMetadata": { # Metadata required if type = "time". # Optional. Metadata required if type = "time".
+              "waitDuration": "A String", # Optional. The duration that the system waits in between waves. This wait starts
+                  # after all changes in the wave are rolled out.
+            },
+            "type": "A String", # Required. The type of the validation. If a type of validation is associated with
+                # a metadata object, the appropriate metadata field mapping to the
+                # validation type must be provided in the validation message. Possible
+                # values are in quotes below alongside an explanation:
+                #   "manual": The system waits for an end-user approval API before
+                #     progressing to the next wave.
+                #   "time": The system waits for a user specified duration before
+                #     progressing to the next wave. TimeBasedValidation must be provided.
+          },
+        },
+      ],
+    },
+  ],
+  "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(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_preview.folderRollouts.html b/docs/dyn/compute_preview.folderRollouts.html new file mode 100644 index 0000000000..c77beae114 --- /dev/null +++ b/docs/dyn/compute_preview.folderRollouts.html @@ -0,0 +1,2016 @@ + + + +

Compute Engine API . folderRollouts

+

Instance Methods

+

+ advance(folder, rollout, currentWaveNumber=None, requestId=None, x__xgafv=None)

+

Advances a Rollout to the next wave, or completes it if no waves remain.

+

+ cancel(folder, rollout, requestId=None, rollback=None, x__xgafv=None)

+

Cancels a Rollout.

+

+ close()

+

Close httplib2 connections.

+

+ delete(folder, rollout, requestId=None, x__xgafv=None)

+

Deletes a Rollout.

+

+ get(folder, rollout, x__xgafv=None)

+

Gets details of a single folder-scoped Rollout.

+

+ list(folder, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None)

+

Lists Rollouts in a given folder and location.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ pause(folder, rollout, etag=None, requestId=None, x__xgafv=None)

+

Pauses a Rollout.

+

+ resume(folder, rollout, etag=None, requestId=None, x__xgafv=None)

+

Resumes a Rollout.

+

Method Details

+
+ advance(folder, rollout, currentWaveNumber=None, requestId=None, x__xgafv=None) +
Advances a Rollout to the next wave, or completes it if no waves remain.
+
+Args:
+  folder: string, Required. Folder ID for this request. (required)
+  rollout: string, Required. Name of the Rollout resource to advance. (required)
+  currentWaveNumber: string, Required. Wave number of the current wave.
+  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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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.
+}
+
+ +
+ cancel(folder, rollout, requestId=None, rollback=None, x__xgafv=None) +
Cancels a Rollout.
+
+Args:
+  folder: string, Required. Folder ID for this request. (required)
+  rollout: string, Name of the Rollout resource to cancel. (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).
+  rollback: boolean, Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel
+the rollout without taking any further actions. Note that products must
+support at least one of these options, however, it does not need to support
+both.
+  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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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.
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ delete(folder, rollout, requestId=None, x__xgafv=None) +
Deletes a Rollout.
+
+Args:
+  folder: string, Required. Folder ID for this request. (required)
+  rollout: string, Name of the Rollout 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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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(folder, rollout, x__xgafv=None) +
Gets details of a single folder-scoped Rollout.
+
+Args:
+  folder: string, Folder ID for this request. (required)
+  rollout: string, Name of the persistent rollout 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:
+
+    { # Rollout resource.
+    #
+    # A Rollout is a specific instance of a RolloutPlan. It represents a single
+    # execution of a strategy to roll out a specific resource. It also provides
+    # APIs to interact with the rollout.
+  "cancellationTime": "A String", # Output only. The timestamp at which the Rollout was cancelled.
+  "completionTime": "A String", # Output only. The timestamp at which the Rollout was completed.
+  "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339
+      # text format.
+  "currentWaveNumber": "A String", # Output only. The number of the currently running wave.
+      # Ex. 1
+  "description": "A String", # An optional description of this resource. Provide this property when you
+      # create the resource.
+  "etag": "A String", # Output only. etag of the Rollout
+      # Ex. abc1234
+  "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is
+      # defined by the server.
+  "kind": "compute#rollout", # Output only. [Output Only] Type of the resource. Always compute#rollout
+      # for rollouts.
+  "name": "A String", # 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.
+  "pauseTime": "A String", # Output only. The timestamp at which the Rollout was paused.
+  "resumeTime": "A String", # Output only. The timestamp at which the Rollout was resumed.
+  "rolloutEntity": { # Specifications of the resource to roll out. # Required. The resource being rolled out.
+    "orchestratedEntity": { # This message is used if the resource type follows the Orchestrated # Optional. Entity details for products using the Orchestrated Integration model.
+        # integration model with ProgressiveRollout.
+      "conflictBehavior": "A String", # Required. Specifies the behavior of the Rollout if an out of band update is
+          # detected in a project during a Rollout. It can be one of the following
+          # values:
+          # 1) overwrite : Overwrite the local value with the rollout value.
+          # 2) no_overwrite : Do not overwrite the local value with the rollout
+          # value.
+      "orchestrationAction": "A String", # Required. Orchestration action during the Rollout. It can be one of the following
+          # values:
+          # 1) "update": Resources will be updated by the rollout.
+          # 2) "delete": Resources will be deleted by the rollout.
+      "orchestrationSource": "A String", # Required. Fully qualified resource name of the resource which contains the source
+          # of truth of the configuration being rolled out across
+          # locations/projects. For example, in the case of a global Rollout which
+          # is applied across regions, this contains the name of the global
+          # resource created by the user which contains a payload for a resource
+          # that is orchestrated across regions. This follows the following format:
+          # //.googleapis.com/projects//locations/global//
+          # e.g.
+          # //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1
+    },
+  },
+  "rolloutPlan": "A String", # Required. Rollout Plan used to model the Rollout.
+      # Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1
+  "selfLink": "A String", # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
+  "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id.
+  "state": "A String", # Output only. The current state of the Rollout.
+  "waveDetails": [ # Output only. Details about each wave of the rollout.
+    { # Additional metadata about the status of each wave provided by the server.
+      "orchestratedWaveDetails": { # Details of the wave for products using the Orchestrated integration # Output only. Additional details of the wave for products using the Orchestrated
+          # Integration model.
+          # model.
+        "completedResourcesCount": "A String", # Output only. Resource completed so far.
+        "estimatedCompletionTime": "A String", # Output only. Estimated timestamp at which the wave will complete. Extrapolated from
+            # current progress.
+        "estimatedTotalResourcesCount": "A String", # Output only. Estimated total count of resources.
+        "failedLocations": [ # Output only. Locations that failed during orchestration, and ProgressiveRollout
+            # stopped retrying. There may be some successful resources rolled out in
+            # the wave as the location may have failed later in the Rollout.
+          "A String",
+        ],
+        "failedResourcesCount": "A String", # Output only. Resources failed.
+        "locationStatus": { # Output only. Status of each location in the wave. Map keys (locations) must be
+            # specified like "us-east1" or "asia-west1-a".
+          "a_key": { # Represents the status of a location in a wave.
+            "state": "A String", # Output only. Location state of the wave.
+          },
+        },
+      },
+      "waveDisplayName": "A String", # Output only. Wave name.
+          # Ex. wave1
+      "waveNumber": "A String", # Output only. System generated number for the wave.
+    },
+  ],
+}
+
+ +
+ list(folder, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None) +
Lists Rollouts in a given folder and location.
+
+Args:
+  folder: string, Required. Folder 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.
+  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",
+  "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+  "items": [ # A list of Rollout resources.
+    { # Rollout resource.
+        #
+        # A Rollout is a specific instance of a RolloutPlan. It represents a single
+        # execution of a strategy to roll out a specific resource. It also provides
+        # APIs to interact with the rollout.
+      "cancellationTime": "A String", # Output only. The timestamp at which the Rollout was cancelled.
+      "completionTime": "A String", # Output only. The timestamp at which the Rollout was completed.
+      "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339
+          # text format.
+      "currentWaveNumber": "A String", # Output only. The number of the currently running wave.
+          # Ex. 1
+      "description": "A String", # An optional description of this resource. Provide this property when you
+          # create the resource.
+      "etag": "A String", # Output only. etag of the Rollout
+          # Ex. abc1234
+      "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is
+          # defined by the server.
+      "kind": "compute#rollout", # Output only. [Output Only] Type of the resource. Always compute#rollout
+          # for rollouts.
+      "name": "A String", # 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.
+      "pauseTime": "A String", # Output only. The timestamp at which the Rollout was paused.
+      "resumeTime": "A String", # Output only. The timestamp at which the Rollout was resumed.
+      "rolloutEntity": { # Specifications of the resource to roll out. # Required. The resource being rolled out.
+        "orchestratedEntity": { # This message is used if the resource type follows the Orchestrated # Optional. Entity details for products using the Orchestrated Integration model.
+            # integration model with ProgressiveRollout.
+          "conflictBehavior": "A String", # Required. Specifies the behavior of the Rollout if an out of band update is
+              # detected in a project during a Rollout. It can be one of the following
+              # values:
+              # 1) overwrite : Overwrite the local value with the rollout value.
+              # 2) no_overwrite : Do not overwrite the local value with the rollout
+              # value.
+          "orchestrationAction": "A String", # Required. Orchestration action during the Rollout. It can be one of the following
+              # values:
+              # 1) "update": Resources will be updated by the rollout.
+              # 2) "delete": Resources will be deleted by the rollout.
+          "orchestrationSource": "A String", # Required. Fully qualified resource name of the resource which contains the source
+              # of truth of the configuration being rolled out across
+              # locations/projects. For example, in the case of a global Rollout which
+              # is applied across regions, this contains the name of the global
+              # resource created by the user which contains a payload for a resource
+              # that is orchestrated across regions. This follows the following format:
+              # //.googleapis.com/projects//locations/global//
+              # e.g.
+              # //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1
+        },
+      },
+      "rolloutPlan": "A String", # Required. Rollout Plan used to model the Rollout.
+          # Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1
+      "selfLink": "A String", # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
+      "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id.
+      "state": "A String", # Output only. The current state of the Rollout.
+      "waveDetails": [ # Output only. Details about each wave of the rollout.
+        { # Additional metadata about the status of each wave provided by the server.
+          "orchestratedWaveDetails": { # Details of the wave for products using the Orchestrated integration # Output only. Additional details of the wave for products using the Orchestrated
+              # Integration model.
+              # model.
+            "completedResourcesCount": "A String", # Output only. Resource completed so far.
+            "estimatedCompletionTime": "A String", # Output only. Estimated timestamp at which the wave will complete. Extrapolated from
+                # current progress.
+            "estimatedTotalResourcesCount": "A String", # Output only. Estimated total count of resources.
+            "failedLocations": [ # Output only. Locations that failed during orchestration, and ProgressiveRollout
+                # stopped retrying. There may be some successful resources rolled out in
+                # the wave as the location may have failed later in the Rollout.
+              "A String",
+            ],
+            "failedResourcesCount": "A String", # Output only. Resources failed.
+            "locationStatus": { # Output only. Status of each location in the wave. Map keys (locations) must be
+                # specified like "us-east1" or "asia-west1-a".
+              "a_key": { # Represents the status of a location in a wave.
+                "state": "A String", # Output only. Location state of the wave.
+              },
+            },
+          },
+          "waveDisplayName": "A String", # Output only. Wave name.
+              # Ex. wave1
+          "waveNumber": "A String", # Output only. System generated number for the wave.
+        },
+      ],
+    },
+  ],
+  "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(previous_request, previous_response) +
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.
+
+
+ +
+ pause(folder, rollout, etag=None, requestId=None, x__xgafv=None) +
Pauses a Rollout.
+
+Args:
+  folder: string, Required. Folder ID for this request. (required)
+  rollout: string, Required. Name of the Rollout resource to pause. (required)
+  etag: string, The etag of the Rollout.
+If this is provided, the request will only succeed if the etag matches
+the current etag of the Rollout.
+  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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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.
+}
+
+ +
+ resume(folder, rollout, etag=None, requestId=None, x__xgafv=None) +
Resumes a Rollout.
+
+Args:
+  folder: string, Required. Folder ID for this request. (required)
+  rollout: string, Required. Name of the Rollout resource to resume. (required)
+  etag: string, The etag of the Rollout.
+If this is provided, the request will only succeed if the etag matches
+the current etag of the Rollout.
+  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/v1/globalOperations)
+    # * [Regional](/compute/docs/reference/rest/v1/regionOperations)
+    # * [Zonal](/compute/docs/reference/rest/v1/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.
+  "details": { # [Output Only] Extended details about the operation's execution.
+    "data": { # Machine readable data from the message.
+      "a_key": "",
+    },
+    "message": "A String", # Human or AI readable details on execution of the operation.
+  },
+  "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.
+      { # Represents a single error encountered during the processing of an
+          # 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.
+          { # Container for structured error details providing additional context
+              # specific to the encountered error code.
+            "errorInfo": { # Describes the cause of the error with structured details. # Error information containing structured domain, reason, and metadata.
+                #
+                # 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. # Links and information to help the user resolve the error.
+                #
+                # 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 # A localized human-readable error message intended for end users.
+                # 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. # Details about quota limits and metrics when a quota is exceeded.
+              "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.
+      },
+    ],
+  },
+  "getHealthOperationMetadata": { # Metadata for GetHealth operations. # Output only. Metadata for GetHealth operations.
+    "healthInfo": { # Health information. # Output only. The health information.
+      "availabilitySloStatus": "A String", # Output only. The availability SLO status.
+      "healthStatus": "A String", # Output only. The health status.
+      "repairCategory": "A String", # Output only. The repair category.
+      "unhealthyReason": "A String", # Output only. The reason for unhealthy status.
+      "updateTime": "A String", # Output only. The time when health info was updated.
+    },
+  },
+  "getVersionOperationMetadata": {
+    "inlineSbomInfo": {
+      "currentComponentVersions": { # A mapping of components to their currently-applied versions or other
+          # appropriate identifiers.
+        "a_key": "A String",
+      },
+      "targetComponentVersions": { # A mapping of components to their target versions or other appropriate
+          # identifiers.
+        "a_key": "A String",
+      },
+    },
+  },
+  "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.
+      },
+    },
+  },
+  "instancesTroubleshootOperationMetadata": { # [Output Only] Operation metadata for instances.troubleshoot. # Output only. [Output Only] Operation metadata for instances.troubleshoot.
+    "troubleshootOutput": "A String", # Output only. [Output Only] Serialized output of the troubleshooting diagnostic run.
+  },
+  "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.
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_preview.html b/docs/dyn/compute_preview.html index 5bc53dec41..ba51c73322 100644 --- a/docs/dyn/compute_preview.html +++ b/docs/dyn/compute_preview.html @@ -154,6 +154,16 @@

Instance Methods

Returns the folderGlobalVmExtensionPolicies Resource.

+

+ folderRolloutPlans() +

+

Returns the folderRolloutPlans Resource.

+ +

+ folderRollouts() +

+

Returns the folderRollouts Resource.

+

folderZoneVmExtensionPolicies()

@@ -369,6 +379,11 @@

Instance Methods

Returns the networkFirewallPolicies Resource.

+

+ networkLocationBindings() +

+

Returns the networkLocationBindings Resource.

+

networkProfiles()

diff --git a/docs/dyn/compute_preview.instanceTemplates.html b/docs/dyn/compute_preview.instanceTemplates.html index 893bd50da1..6d78025e92 100644 --- a/docs/dyn/compute_preview.instanceTemplates.html +++ b/docs/dyn/compute_preview.instanceTemplates.html @@ -283,7 +283,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1756,7 +1762,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3200,7 +3212,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -4662,7 +4680,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_preview.instances.html b/docs/dyn/compute_preview.instances.html index de1caed516..05cb45543f 100644 --- a/docs/dyn/compute_preview.instances.html +++ b/docs/dyn/compute_preview.instances.html @@ -1625,7 +1625,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -4250,6 +4256,21 @@

Method Details

# example `n2-standard-4` and not URLs or partial URLs. "A String", ], + "metadataOverrides": [ # Metadata key/value pairs assigned to instances created from this + # selection. Key/value pairs specified here override keys specified in the + # instance properties on a key-by-key basis. + { # Metadata + "key": "A String", # Key for the metadata entry. Keys must conform to the following + # regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. + # This is reflected as part of a URL in the metadata server. Additionally, to + # avoid ambiguity, keys must not conflict with any other metadata keys + # for the project. + "value": "A String", # Value for the metadata entry. These are free-form strings, and only + # have meaning as interpreted by the image running in the instance. The + # only restriction placed on values is that their size must be less than + # or equal to 262144 bytes (256 KiB). + }, + ], "minCpuPlatform": "A String", # Name of the minimum CPU platform to be used by this instance selection. # e.g. 'Intel Ice Lake'. "rank": "A String", # Rank when prioritizing the shape flexibilities. @@ -4295,7 +4316,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -6944,7 +6971,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -9351,7 +9384,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -11065,7 +11104,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -21133,7 +21178,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. diff --git a/docs/dyn/compute_preview.machineImages.html b/docs/dyn/compute_preview.machineImages.html index 1f6d82cf7c..533382587f 100644 --- a/docs/dyn/compute_preview.machineImages.html +++ b/docs/dyn/compute_preview.machineImages.html @@ -486,7 +486,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -2631,7 +2637,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -4795,7 +4807,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_preview.networkLocationBindings.html b/docs/dyn/compute_preview.networkLocationBindings.html new file mode 100644 index 0000000000..c874da659b --- /dev/null +++ b/docs/dyn/compute_preview.networkLocationBindings.html @@ -0,0 +1,334 @@ + + + +

Compute Engine API . networkLocationBindings

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(project, region, networkLocationBinding, x__xgafv=None)

+

Returns the specified NetworkLocationBinding resource in the given scope.

+

+ list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None)

+

Lists the NetworkLocationBindings for a project in the given scope.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(project, region, networkLocationBinding, x__xgafv=None) +
Returns the specified NetworkLocationBinding resource in the given scope.
+
+Args:
+  project: string, Project ID for this request. (required)
+  region: string, Name of the region of this request. (required)
+  networkLocationBinding: string, Name of the NetworkLocationBinding 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:
+
+    { # A regional, read-only resource that reflects the physical location(s) (i.e.
+    # clusters) to which a special-purpose VPC network is bound, across the zones
+    # of a region. Its lifecycle is managed by the service: it is created when a
+    # network using a network profile that requires location binding is created,
+    # and deleted when that network is deleted.
+  "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339
+      # text format.
+  "description": "A String", # Output only. [Output Only] An optional textual description of the resource.
+  "id": "A String", # Output only. [Output Only] The unique identifier for the resource type. The server
+      # generates this identifier.
+  "kind": "compute#networkLocationBinding", # Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for network location bindings.
+  "name": "A String", # Output only. [Output Only] Name of the resource. The name is generated by the server
+      # when the associated network is created.
+  "network": "A String", # Output only. [Output Only] The network this network location binding belongs to.
+  "region": "A String", # Output only. [Output Only] URL of the region where the network location binding
+      # resides. You must specify this field as part of the HTTP request URL. It
+      # is not settable as a field in the request body.
+  "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 with the resource id.
+  "state": "A String", # Output only. [Output Only] State of the binding.
+  "status": { # Status and derived information about the network location binding. # Output only. [Output Only] Status and derived information about the network location
+      # binding.
+    "bindingType": "A String", # Output only. [Output Only] Indicates whether a single cluster, specific clusters, or
+        # all clusters are allowed for instance creation.
+    "zonalBindings": { # Output only. [Output Only] The mapping of zones to their binding information, keyed
+        # by the zone, e.g. zones/us-central1-a.
+      "a_key": { # Binding information for a single zone.
+        "prodClusters": [ # Output only. [Output Only] Prod cluster names in the zone that this network could
+            # schedule instances in.
+          "A String",
+        ],
+      },
+    },
+  },
+}
+
+ +
+ list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, x__xgafv=None) +
Lists the NetworkLocationBindings for a project in the given scope.
+
+Args:
+  project: string, Project ID for this request. (required)
+  region: string, Name of the region of 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.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for NetworkLocationBindings.List.
+  "etag": "A String", # Server-defined ETag for optimistic concurrency control.
+  "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+  "items": [ # A list of NetworkLocationBinding resources.
+    { # A regional, read-only resource that reflects the physical location(s) (i.e.
+        # clusters) to which a special-purpose VPC network is bound, across the zones
+        # of a region. Its lifecycle is managed by the service: it is created when a
+        # network using a network profile that requires location binding is created,
+        # and deleted when that network is deleted.
+      "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339
+          # text format.
+      "description": "A String", # Output only. [Output Only] An optional textual description of the resource.
+      "id": "A String", # Output only. [Output Only] The unique identifier for the resource type. The server
+          # generates this identifier.
+      "kind": "compute#networkLocationBinding", # Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for network location bindings.
+      "name": "A String", # Output only. [Output Only] Name of the resource. The name is generated by the server
+          # when the associated network is created.
+      "network": "A String", # Output only. [Output Only] The network this network location binding belongs to.
+      "region": "A String", # Output only. [Output Only] URL of the region where the network location binding
+          # resides. You must specify this field as part of the HTTP request URL. It
+          # is not settable as a field in the request body.
+      "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 with the resource id.
+      "state": "A String", # Output only. [Output Only] State of the binding.
+      "status": { # Status and derived information about the network location binding. # Output only. [Output Only] Status and derived information about the network location
+          # binding.
+        "bindingType": "A String", # Output only. [Output Only] Indicates whether a single cluster, specific clusters, or
+            # all clusters are allowed for instance creation.
+        "zonalBindings": { # Output only. [Output Only] The mapping of zones to their binding information, keyed
+            # by the zone, e.g. zones/us-central1-a.
+          "a_key": { # Binding information for a single zone.
+            "prodClusters": [ # Output only. [Output Only] Prod cluster names in the zone that this network could
+                # schedule instances in.
+              "A String",
+            ],
+          },
+        },
+      },
+    },
+  ],
+  "kind": "compute#networkLocationBindingList", # Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBindingList for a list of network
+      # location bindings.
+  "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. [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(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_preview.networks.html b/docs/dyn/compute_preview.networks.html index 9ab76d0418..bd95cfd854 100644 --- a/docs/dyn/compute_preview.networks.html +++ b/docs/dyn/compute_preview.networks.html @@ -1238,6 +1238,10 @@

Method Details

"networkFirewallPolicyEnforcementOrder": "A String", # The network firewall policy enforcement order. Can be either # AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to # AFTER_CLASSIC_FIREWALL if the field is not specified. + "networkLocationBindings": [ # Output only. [Output Only] List of server-defined fully-qualified URLs of regional + # network location bindings in this VPC network. + "A String", + ], "networkProfile": "A String", # A full or partial URL of the network profile to apply to this network. # This field can be set only at resource creation time. For example, the # following are valid URLs: @@ -2002,6 +2006,10 @@

Method Details

"networkFirewallPolicyEnforcementOrder": "A String", # The network firewall policy enforcement order. Can be either # AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to # AFTER_CLASSIC_FIREWALL if the field is not specified. + "networkLocationBindings": [ # Output only. [Output Only] List of server-defined fully-qualified URLs of regional + # network location bindings in this VPC network. + "A String", + ], "networkProfile": "A String", # A full or partial URL of the network profile to apply to this network. # This field can be set only at resource creation time. For example, the # following are valid URLs: @@ -2580,6 +2588,10 @@

Method Details

"networkFirewallPolicyEnforcementOrder": "A String", # The network firewall policy enforcement order. Can be either # AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to # AFTER_CLASSIC_FIREWALL if the field is not specified. + "networkLocationBindings": [ # Output only. [Output Only] List of server-defined fully-qualified URLs of regional + # network location bindings in this VPC network. + "A String", + ], "networkProfile": "A String", # A full or partial URL of the network profile to apply to this network. # This field can be set only at resource creation time. For example, the # following are valid URLs: @@ -2984,6 +2996,10 @@

Method Details

"networkFirewallPolicyEnforcementOrder": "A String", # The network firewall policy enforcement order. Can be either # AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to # AFTER_CLASSIC_FIREWALL if the field is not specified. + "networkLocationBindings": [ # Output only. [Output Only] List of server-defined fully-qualified URLs of regional + # network location bindings in this VPC network. + "A String", + ], "networkProfile": "A String", # A full or partial URL of the network profile to apply to this network. # This field can be set only at resource creation time. For example, the # following are valid URLs: diff --git a/docs/dyn/compute_preview.regionDisks.html b/docs/dyn/compute_preview.regionDisks.html index 4bf718f976..d31d00bc7f 100644 --- a/docs/dyn/compute_preview.regionDisks.html +++ b/docs/dyn/compute_preview.regionDisks.html @@ -1018,7 +1018,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_preview.regionInstanceTemplates.html b/docs/dyn/compute_preview.regionInstanceTemplates.html index 524022e394..fb9e639f1b 100644 --- a/docs/dyn/compute_preview.regionInstanceTemplates.html +++ b/docs/dyn/compute_preview.regionInstanceTemplates.html @@ -493,7 +493,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1567,7 +1573,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3030,7 +3042,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_preview.regionInstances.html b/docs/dyn/compute_preview.regionInstances.html index e01346b3f0..1207e36341 100644 --- a/docs/dyn/compute_preview.regionInstances.html +++ b/docs/dyn/compute_preview.regionInstances.html @@ -579,6 +579,21 @@

Method Details

# example `n2-standard-4` and not URLs or partial URLs. "A String", ], + "metadataOverrides": [ # Metadata key/value pairs assigned to instances created from this + # selection. Key/value pairs specified here override keys specified in the + # instance properties on a key-by-key basis. + { # Metadata + "key": "A String", # Key for the metadata entry. Keys must conform to the following + # regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. + # This is reflected as part of a URL in the metadata server. Additionally, to + # avoid ambiguity, keys must not conflict with any other metadata keys + # for the project. + "value": "A String", # Value for the metadata entry. These are free-form strings, and only + # have meaning as interpreted by the image running in the instance. The + # only restriction placed on values is that their size must be less than + # or equal to 262144 bytes (256 KiB). + }, + ], "minCpuPlatform": "A String", # Name of the minimum CPU platform to be used by this instance selection. # e.g. 'Intel Ice Lake'. "rank": "A String", # Rank when prioritizing the shape flexibilities. @@ -624,7 +639,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. diff --git a/docs/dyn/compute_preview.regionSnapshots.html b/docs/dyn/compute_preview.regionSnapshots.html index fafd34ef53..4ee5dbafa9 100644 --- a/docs/dyn/compute_preview.regionSnapshots.html +++ b/docs/dyn/compute_preview.regionSnapshots.html @@ -629,7 +629,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1345,7 +1346,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2081,7 +2083,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_preview.regionSslCertificates.html b/docs/dyn/compute_preview.regionSslCertificates.html index 4f80f4a16e..8188fced55 100644 --- a/docs/dyn/compute_preview.regionSslCertificates.html +++ b/docs/dyn/compute_preview.regionSslCertificates.html @@ -81,7 +81,7 @@

Instance Methods

delete(project, region, sslCertificate, requestId=None, x__xgafv=None)

Deletes the specified SslCertificate resource in the region.

- fetchEncryptionKey(project, region, x__xgafv=None)

+ fetchEncryptionKey(project, region, name=None, x__xgafv=None)

Returns the public encryption key used to encrypt the TLS private key

get(project, region, sslCertificate, x__xgafv=None)

@@ -415,13 +415,15 @@

Method Details

- fetchEncryptionKey(project, region, x__xgafv=None) + fetchEncryptionKey(project, region, name=None, x__xgafv=None)
Returns the public encryption key used to encrypt the TLS private key
 before upload.
 
 Args:
   project: string, Project ID for this request. (required)
   region: string, Name of the region scoping this request. (required)
+  name: string, Required. Name of the SslCertificate resource to be created. The name must be 1-63
+characters long, and comply withRFC1035.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
diff --git a/docs/dyn/compute_preview.regionTargetHttpsProxies.html b/docs/dyn/compute_preview.regionTargetHttpsProxies.html
index 73f751e6ca..cfc04c81a5 100644
--- a/docs/dyn/compute_preview.regionTargetHttpsProxies.html
+++ b/docs/dyn/compute_preview.regionTargetHttpsProxies.html
@@ -558,7 +558,7 @@ 

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -733,7 +733,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1297,7 +1297,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1524,7 +1524,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_preview.snapshots.html b/docs/dyn/compute_preview.snapshots.html index 600e4dc7fb..2fcc18585d 100644 --- a/docs/dyn/compute_preview.snapshots.html +++ b/docs/dyn/compute_preview.snapshots.html @@ -627,7 +627,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1344,7 +1345,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2079,7 +2081,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_preview.sslCertificates.html b/docs/dyn/compute_preview.sslCertificates.html index 69f39eb531..91f50929cb 100644 --- a/docs/dyn/compute_preview.sslCertificates.html +++ b/docs/dyn/compute_preview.sslCertificates.html @@ -87,7 +87,7 @@

Instance Methods

delete(project, sslCertificate, requestId=None, x__xgafv=None)

Deletes the specified SslCertificate resource.

- fetchEncryptionKey(project, x__xgafv=None)

+ fetchEncryptionKey(project, name=None, x__xgafv=None)

Returns the public encryption key used to encrypt the TLS private key

get(project, sslCertificate, x__xgafv=None)

@@ -701,12 +701,14 @@

Method Details

- fetchEncryptionKey(project, x__xgafv=None) + fetchEncryptionKey(project, name=None, x__xgafv=None)
Returns the public encryption key used to encrypt the TLS private key
 before upload.
 
 Args:
   project: string, Project ID for this request. (required)
+  name: string, Required. Name of the SslCertificate resource to be created. The name must be 1-63
+characters long, and comply withRFC1035.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
diff --git a/docs/dyn/compute_preview.targetHttpsProxies.html b/docs/dyn/compute_preview.targetHttpsProxies.html
index f0c5201fbe..4b1d04eb20 100644
--- a/docs/dyn/compute_preview.targetHttpsProxies.html
+++ b/docs/dyn/compute_preview.targetHttpsProxies.html
@@ -348,7 +348,7 @@ 

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -924,7 +924,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1098,7 +1098,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1661,7 +1661,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1887,7 +1887,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_v1.addresses.html b/docs/dyn/compute_v1.addresses.html index a9991a165a..a9e71a122b 100644 --- a/docs/dyn/compute_v1.addresses.html +++ b/docs/dyn/compute_v1.addresses.html @@ -293,6 +293,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -336,6 +339,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and @@ -832,6 +838,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -875,6 +884,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and @@ -977,6 +989,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -1020,6 +1035,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and @@ -1502,6 +1520,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -1545,6 +1566,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and diff --git a/docs/dyn/compute_v1.backendServices.html b/docs/dyn/compute_v1.backendServices.html index 5995baa484..7fbb6a7fb8 100644 --- a/docs/dyn/compute_v1.backendServices.html +++ b/docs/dyn/compute_v1.backendServices.html @@ -1048,6 +1048,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -3099,6 +3112,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -4896,6 +4922,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -6629,6 +6668,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -8103,6 +8155,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -9523,6 +9588,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -12704,6 +12782,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a diff --git a/docs/dyn/compute_v1.disks.html b/docs/dyn/compute_v1.disks.html index bd013af221..a2c45aa5bd 100644 --- a/docs/dyn/compute_v1.disks.html +++ b/docs/dyn/compute_v1.disks.html @@ -980,6 +980,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -2041,7 +2114,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -3230,6 +3304,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -4132,6 +4279,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -5043,6 +5263,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -8441,6 +8734,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: diff --git a/docs/dyn/compute_v1.firewallPolicies.html b/docs/dyn/compute_v1.firewallPolicies.html index 24da69511d..d942dbcc43 100644 --- a/docs/dyn/compute_v1.firewallPolicies.html +++ b/docs/dyn/compute_v1.firewallPolicies.html @@ -1811,6 +1811,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -2874,6 +2884,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -3722,6 +3742,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -4576,6 +4606,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # diff --git a/docs/dyn/compute_v1.forwardingRules.html b/docs/dyn/compute_v1.forwardingRules.html index 9be49d7d78..2e3ffb4e98 100644 --- a/docs/dyn/compute_v1.forwardingRules.html +++ b/docs/dyn/compute_v1.forwardingRules.html @@ -277,6 +277,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -314,6 +371,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -333,6 +415,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -508,6 +600,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -1113,6 +1210,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -1150,6 +1304,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -1169,6 +1348,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -1344,6 +1533,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -1552,6 +1746,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -1589,6 +1840,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -1608,6 +1884,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -1783,6 +2069,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -2371,6 +2662,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -2408,6 +2756,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -2427,6 +2800,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -2602,6 +2985,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -2862,6 +3250,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -2899,6 +3344,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -2918,6 +3388,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -3093,6 +3573,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this diff --git a/docs/dyn/compute_v1.globalAddresses.html b/docs/dyn/compute_v1.globalAddresses.html index 1ea3539bdf..1c324e5d27 100644 --- a/docs/dyn/compute_v1.globalAddresses.html +++ b/docs/dyn/compute_v1.globalAddresses.html @@ -502,6 +502,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -545,6 +548,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and @@ -646,6 +652,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -689,6 +698,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and @@ -1169,6 +1181,9 @@

Method Details

# character must be a lowercase letter or digit. "network": "A String", # The URL of the network in which to reserve the address. This field can # only be used with INTERNAL type with theVPC_PEERING purpose. + "networkAttachment": "A String", # Optional. The URL of the network attachment that this address comes from in the + # following format: + # projects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}. "networkTier": "A String", # This signifies the networking tier used for configuring this address and # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier; # global external IP addresses are always Premium Tier; regional external IP @@ -1212,6 +1227,9 @@

Method Details

# the HTTP request URL. *This field is not applicable to global # addresses.* "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "serviceClassId": "A String", # Optional. Producer Service's Service class ID for the region of this address. Can + # only be used with network_attachment. It is not possible to use on its own; + # however, network_attachment can be used without service_class_id. "status": "A String", # Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. # An address that is RESERVING is currently in the process of # being reserved. A RESERVED address is currently reserved and diff --git a/docs/dyn/compute_v1.globalForwardingRules.html b/docs/dyn/compute_v1.globalForwardingRules.html index 82370ba0f2..4239c23f11 100644 --- a/docs/dyn/compute_v1.globalForwardingRules.html +++ b/docs/dyn/compute_v1.globalForwardingRules.html @@ -491,6 +491,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -528,6 +585,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -547,6 +629,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -722,6 +814,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -929,6 +1026,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -966,6 +1120,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -985,6 +1164,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -1160,6 +1349,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -1747,6 +1941,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -1784,6 +2035,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -1803,6 +2079,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -1978,6 +2264,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this @@ -2237,6 +2528,63 @@

Method Details

# When creating a global external Passthrough Network Load Balancer # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + "IPAddresses": [ # IP addresses for which this forwarding rule accepts traffic. All IP + # addresses must have the same IP version, IPv4 or IPv6. When a client sends + # traffic that matches one of the specified IP addresses, protocol and ports, + # the forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of + # backends, and they share the target capacities specified in the backend + # service fairly. + # + # Global external Passthrough Network Load Balancer requires two IP addresses + # for each forwarding rule to provide high availability when both IP + # addresses are used to serve client requests. The two IP addresses must come + # from global IP pools that belong to two distinct Availability + # Groups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses: + # + # - If omitted, Google Cloud assigns two ephemeral IP addresses, one from + # each Availability Group. + # - If you specify one IP address that references an existing static IP + # address resource from one Availability Group, Google Cloud assigns an + # ephemeral IP address from the other Availability Group. + # - If you specify two IP addresses that reference existing static IP + # address resources, they are required to be from different Availability + # Groups. + # + # + # + # For global external Passthrough Network Load Balancer, each IP address can be one of the following: + # + # - A static or ephemeral IPv4 address from a Google-owned IP pool. + # - A static IPv4 address from a global public delegated prefix. + # - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool. + # + # + # + # For global external Passthrough Network Load Balancer, the two IP addresses + # can be of different types. One IP address can be from a BYOIP prefix while + # the other is from a Google-owned IP pool. One IP address can be static + # while the other is ephemeral. However, both IP addresses must have the same + # IP version, IPv4 or IPv6. + # + # The IP addresses can only be set at creation and cannot be updated. + # + # When creating a global external Passthrough Network Load Balancer + # forwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child + # forwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details. + # + # Refer to the IPAddress field for the formats that can be used + # to specify IP addresses while creating a forwarding rule. + # + # Because Passthrough Network Load Balancers do not terminate or translate + # traffic, the backend stack types must be compatible with the forwarding + # rule IP version: + # + # - If the forwarding rule IP version is IPv4, backends should be + # configured as dual-stack or IPv4-only. + # - If the forwarding rule IP version is IPv6, backends should be + # configured as dual-stack or IPv6-only. + "A String", + ], "IPProtocol": "A String", # The IP protocol to which this rule applies. # # For protocol forwarding, valid @@ -2274,6 +2622,31 @@

Method Details

"reference": "A String", # Output only. The resource name. }, ], + "availabilityGroup": "A String", # Output only. [Output Only] Specifies the load balancing availability group, one of the + # two that collectively provide high availability. + # + # 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 rules only. The possible values are: + # + # - AVAILABILITY_GROUP0: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP0 load balancing + # stack. The child forwarding rule has the same IP protocol, port, and + # backend service settings as the parent forwarding rule, but has only one of + # the two IP addresses of the parent forwarding rule, the one with the + # purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0. + # - AVAILABILITY_GROUP1: Set for the child forwarding rule + # that is programmed on the AVAILABILITY_GROUP1 load balancing + # stack. The child forwarding rule has the same IP protocol, port and backend + # service settings as the parent forwarding rule, but has only one of the two + # IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. + # + # + # + # For each global external Passthrough Network Load Balancer forwarding rule + # (a parent forwarding rule) that you create, Google Cloud generates two + # output-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # # It is a required field for the following load balancers: @@ -2293,6 +2666,16 @@

Method Details

# sourceIPRanges specified. # Always empty if the current forwarding rule does not have sourceIPRanges # specified. + "childForwardingRules": [ # Output only. [Output Only] The resource URLs for the child forwarding rules. + # + # Applicable only to the parent forwarding rule of global + # external passthrough load balancers. This field contains the list of child + # forwarding rule URLs associated with the parent forwarding rule: one for + # each availability group. AVAILABILITY_GROUP0 will be the first element, and + # AVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set + # by any other forwarding rules. + "A String", + ], "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 @@ -2468,6 +2851,11 @@

Method Details

"noAutomateDnsZone": True or False, # This is used in PSC consumer ForwardingRule to control whether it should # try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use # this field. Once set, this field is not mutable. + "parentForwardingRule": "A String", # Output only. [Output Only] The resource URL for the parent forwarding rule. + # + # Applicable only to the child forwarding rules of global external + # passthrough load balancers. This field contains the URL of the parent + # forwarding rule. "portRange": "A String", # The ports, portRange, and allPorts # fields are mutually exclusive. Only packets addressed to ports in the # specified range will be forwarded to the backends configured with this diff --git a/docs/dyn/compute_v1.globalPublicDelegatedPrefixes.html b/docs/dyn/compute_v1.globalPublicDelegatedPrefixes.html index cc4349fc20..5167e56f19 100644 --- a/docs/dyn/compute_v1.globalPublicDelegatedPrefixes.html +++ b/docs/dyn/compute_v1.globalPublicDelegatedPrefixes.html @@ -477,11 +477,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -570,11 +596,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1042,11 +1094,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1187,11 +1265,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in diff --git a/docs/dyn/compute_v1.instanceTemplates.html b/docs/dyn/compute_v1.instanceTemplates.html index e758b201af..d6f3a1359b 100644 --- a/docs/dyn/compute_v1.instanceTemplates.html +++ b/docs/dyn/compute_v1.instanceTemplates.html @@ -283,7 +283,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -826,6 +832,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -906,6 +927,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1148,6 +1184,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -1197,6 +1236,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only @@ -1713,7 +1753,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -2256,6 +2302,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2336,6 +2397,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2578,6 +2654,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -2627,6 +2706,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only @@ -3123,7 +3203,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3666,6 +3752,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3746,6 +3847,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3988,6 +4104,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -4037,6 +4156,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only @@ -4542,7 +4662,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -5085,6 +5211,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -5165,6 +5306,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -5407,6 +5563,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -5456,6 +5615,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only diff --git a/docs/dyn/compute_v1.instances.html b/docs/dyn/compute_v1.instances.html index 9bb167e8fb..477b48e055 100644 --- a/docs/dyn/compute_v1.instances.html +++ b/docs/dyn/compute_v1.instances.html @@ -262,6 +262,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -619,6 +634,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -699,6 +729,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1553,7 +1598,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -2219,6 +2270,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2299,6 +2365,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2501,6 +2582,9 @@

Method Details

# specified in the spread placement policy attached to the instance. "gracefulShutdownTimestamp": "A String", # Output only. Specifies the timestamp, when the instance will start graceful shutdown # process, in RFC3339 text format. + "protectionTier": "A String", # Output only. 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). "terminationTimestamp": "A String", # Time in future when the instance will be terminated inRFC3339 text format. }, "shutdownDetails": { # Specifies if the instance is in `PENDING_STOP` state or there is a # Output only. [Output Only] Details about the instance stopping state. @@ -2649,6 +2733,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -2772,6 +2859,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, "zone": "A String", # Output only. [Output Only] URL of the zone where the instance resides. # You must specify this field as part of the HTTP request URL. It is @@ -4177,7 +4265,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -4720,6 +4814,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -4800,6 +4909,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -5042,6 +5166,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -5091,6 +5218,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "locationPolicy": { # Configuration for location policy among multiple possible locations # Policy for choosing target zone. For more information, seeCreate VMs in @@ -6747,7 +6875,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -7413,6 +7547,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -7493,6 +7642,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -7695,6 +7859,9 @@

Method Details

# specified in the spread placement policy attached to the instance. "gracefulShutdownTimestamp": "A String", # Output only. Specifies the timestamp, when the instance will start graceful shutdown # process, in RFC3339 text format. + "protectionTier": "A String", # Output only. 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). "terminationTimestamp": "A String", # Time in future when the instance will be terminated inRFC3339 text format. }, "shutdownDetails": { # Specifies if the instance is in `PENDING_STOP` state or there is a # Output only. [Output Only] Details about the instance stopping state. @@ -7843,6 +8010,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -7966,6 +8136,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, "zone": "A String", # Output only. [Output Only] URL of the zone where the instance resides. # You must specify this field as part of the HTTP request URL. It is @@ -9117,7 +9288,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -9783,6 +9960,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -9863,6 +10055,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -10065,6 +10272,9 @@

Method Details

# specified in the spread placement policy attached to the instance. "gracefulShutdownTimestamp": "A String", # Output only. Specifies the timestamp, when the instance will start graceful shutdown # process, in RFC3339 text format. + "protectionTier": "A String", # Output only. 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). "terminationTimestamp": "A String", # Time in future when the instance will be terminated inRFC3339 text format. }, "shutdownDetails": { # Specifies if the instance is in `PENDING_STOP` state or there is a # Output only. [Output Only] Details about the instance stopping state. @@ -10213,6 +10423,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -10336,6 +10549,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, "zone": "A String", # Output only. [Output Only] URL of the zone where the instance resides. # You must specify this field as part of the HTTP request URL. It is @@ -10785,7 +10999,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -11451,6 +11671,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -11531,6 +11766,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -11733,6 +11983,9 @@

Method Details

# specified in the spread placement policy attached to the instance. "gracefulShutdownTimestamp": "A String", # Output only. Specifies the timestamp, when the instance will start graceful shutdown # process, in RFC3339 text format. + "protectionTier": "A String", # Output only. 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). "terminationTimestamp": "A String", # Time in future when the instance will be terminated inRFC3339 text format. }, "shutdownDetails": { # Specifies if the instance is in `PENDING_STOP` state or there is a # Output only. [Output Only] Details about the instance stopping state. @@ -11881,6 +12134,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -12004,6 +12260,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, "zone": "A String", # Output only. [Output Only] URL of the zone where the instance resides. # You must specify this field as part of the HTTP request URL. It is @@ -17309,6 +17566,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -20598,7 +20858,13 @@

Method Details

# instance to forward routes. For more information, seeEnabling IP Forwarding. "confidentialInstanceConfig": { # A set of Confidential Instance options. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "cpuPlatform": "A String", # Output only. [Output Only] The CPU platform used by this instance. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 text format. @@ -21264,6 +21530,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -21344,6 +21625,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -21546,6 +21842,9 @@

Method Details

# specified in the spread placement policy attached to the instance. "gracefulShutdownTimestamp": "A String", # Output only. Specifies the timestamp, when the instance will start graceful shutdown # process, in RFC3339 text format. + "protectionTier": "A String", # Output only. 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). "terminationTimestamp": "A String", # Time in future when the instance will be terminated inRFC3339 text format. }, "shutdownDetails": { # Specifies if the instance is in `PENDING_STOP` state or there is a # Output only. [Output Only] Details about the instance stopping state. @@ -21694,6 +21993,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -21817,6 +22119,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, "zone": "A String", # Output only. [Output Only] URL of the zone where the instance resides. # You must specify this field as part of the HTTP request URL. It is @@ -22165,6 +22468,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -22841,6 +23159,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -22921,6 +23254,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but diff --git a/docs/dyn/compute_v1.machineImages.html b/docs/dyn/compute_v1.machineImages.html index 90fac9965d..89f6aaaea1 100644 --- a/docs/dyn/compute_v1.machineImages.html +++ b/docs/dyn/compute_v1.machineImages.html @@ -477,7 +477,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1020,6 +1026,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1100,6 +1121,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1342,6 +1378,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -1391,6 +1430,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "kind": "compute#machineImage", # Output only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image. @@ -1483,6 +1523,14 @@

Method Details

# 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. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. + "A String", + ], + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. + "A String", + ], "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, @@ -1789,6 +1837,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1869,6 +1932,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2078,6 +2156,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -2555,7 +2636,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3098,6 +3185,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3178,6 +3280,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3420,6 +3537,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -3469,6 +3589,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "kind": "compute#machineImage", # Output only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image. @@ -3561,6 +3682,14 @@

Method Details

# 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. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. + "A String", + ], + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. + "A String", + ], "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, @@ -3867,6 +3996,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3947,6 +4091,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -4156,6 +4315,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -4643,7 +4805,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -5186,6 +5354,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -5266,6 +5449,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -5508,6 +5706,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -5557,6 +5758,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "kind": "compute#machineImage", # Output only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image. @@ -5649,6 +5851,14 @@

Method Details

# 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. + "excludedDisks": [ # Input only. Specifies the list of disk device names that must be excluded from the + # new machine image. + "A String", + ], + "includedDisks": [ # Input only. Specifies the list of disk device names that must be included with the + # new machine image. + "A String", + ], "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, @@ -5955,6 +6165,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -6035,6 +6260,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -6244,6 +6484,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. diff --git a/docs/dyn/compute_v1.networkFirewallPolicies.html b/docs/dyn/compute_v1.networkFirewallPolicies.html index d7d6fcd0fb..6141d274a8 100644 --- a/docs/dyn/compute_v1.networkFirewallPolicies.html +++ b/docs/dyn/compute_v1.networkFirewallPolicies.html @@ -1812,6 +1812,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -2972,6 +2982,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -4243,6 +4263,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -5085,6 +5115,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -5595,6 +5635,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # diff --git a/docs/dyn/compute_v1.networks.html b/docs/dyn/compute_v1.networks.html index d5827ec45c..6bd5e0a62e 100644 --- a/docs/dyn/compute_v1.networks.html +++ b/docs/dyn/compute_v1.networks.html @@ -1161,6 +1161,9 @@

Method Details

# The range of internal addresses that are legal on this network. This # range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is # created. + "additionalTags": [ # Output only. [Output Only] Additional tags for this resource. + "A String", + ], "autoCreateSubnetworks": True or False, # Must be set to create a VPC network. If not set, a legacy network is # created. # @@ -1925,6 +1928,9 @@

Method Details

# The range of internal addresses that are legal on this network. This # range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is # created. + "additionalTags": [ # Output only. [Output Only] Additional tags for this resource. + "A String", + ], "autoCreateSubnetworks": True or False, # Must be set to create a VPC network. If not set, a legacy network is # created. # @@ -2494,6 +2500,9 @@

Method Details

# The range of internal addresses that are legal on this network. This # range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is # created. + "additionalTags": [ # Output only. [Output Only] Additional tags for this resource. + "A String", + ], "autoCreateSubnetworks": True or False, # Must be set to create a VPC network. If not set, a legacy network is # created. # @@ -2898,6 +2907,9 @@

Method Details

# The range of internal addresses that are legal on this network. This # range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is # created. + "additionalTags": [ # Output only. [Output Only] Additional tags for this resource. + "A String", + ], "autoCreateSubnetworks": True or False, # Must be set to create a VPC network. If not set, a legacy network is # created. # diff --git a/docs/dyn/compute_v1.publicDelegatedPrefixes.html b/docs/dyn/compute_v1.publicDelegatedPrefixes.html index c22ab243e7..b1e51e2226 100644 --- a/docs/dyn/compute_v1.publicDelegatedPrefixes.html +++ b/docs/dyn/compute_v1.publicDelegatedPrefixes.html @@ -276,11 +276,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1069,11 +1095,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1163,11 +1215,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1636,11 +1714,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in @@ -1782,11 +1886,37 @@

Method Details

# delegatee project. "mode": "A String", # The PublicDelegatedSubPrefix mode for IPv6 only. "name": "A String", # The name of the sub public delegated prefix. + "purpose": "A String", # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited + # from parent prefix. "region": "A String", # Output only. [Output Only] The region of the sub public delegated prefix if it is # regional. If absent, the sub prefix is global. "status": "A String", # Output only. [Output Only] The status of the sub public delegated prefix. }, ], + "purpose": "A String", # Immutable. The purpose of the public delegated prefix. + # + # This field can only be set for the top-level global public delegated + # prefix. It is an output-only field for the sub-delegates that inherit the + # value from the top-level global public delegated prefix. Once the value is + # set, it cannot be changed. + # + # The field cannot be set for regional public delegated prefixes. + # + # The supported values are: + # + # + # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public + # delegated prefix can only be used by Global External Application and + # Proxy Load Balancers to allocate addresses for forwarding rules. This is + # the default value. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 0 + # addresses for forwarding rules. + # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The + # global public delegated prefix can only be used by Global External + # Passthrough Network Load Balancers to allocate Availability Group 1 + # addresses for forwarding rules. "region": "A String", # Output only. [Output Only] URL of the region where the public delegated prefix resides. # This field applies only to the region resource. You must specify this # field as part of the HTTP request URL. It is not settable as a field in diff --git a/docs/dyn/compute_v1.regionBackendServices.html b/docs/dyn/compute_v1.regionBackendServices.html index 5d77acacfa..318b6fa77d 100644 --- a/docs/dyn/compute_v1.regionBackendServices.html +++ b/docs/dyn/compute_v1.regionBackendServices.html @@ -927,6 +927,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -2707,6 +2720,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -4441,6 +4467,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -5917,6 +5956,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -7338,6 +7390,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a @@ -10213,6 +10278,19 @@

Method Details

], "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "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. + "enabled": True or False, # A boolean flag enabling IP:PORT based dynamic forwarding. + }, + }, "edgeSecurityPolicy": "A String", # [Output Only] The resource URL for the edge security policy associated with # this backend service. "enableCDN": True or False, # If true, enables Cloud CDN for the backend service of a diff --git a/docs/dyn/compute_v1.regionDisks.html b/docs/dyn/compute_v1.regionDisks.html index 3c2b929c93..9061758669 100644 --- a/docs/dyn/compute_v1.regionDisks.html +++ b/docs/dyn/compute_v1.regionDisks.html @@ -1000,7 +1000,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2187,6 +2188,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -3086,6 +3160,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -3997,6 +4144,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: @@ -7392,6 +7612,79 @@

Method Details

# disk from an instant snapshot that was later deleted and recreated under # the same name, the source instant snapshot ID would identify the exact # version of the instant snapshot that was used. + "sourceMachineImage": "A String", # The machine image to create the disk from. 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/global/machineImages/machineImage + # - projects/project/global/machineImages/machineImage + # - global/machineImages/machineImage + "sourceMachineImageDiskDeviceName": "A String", # The device name of a disk within a given machine image. The + # source_machine_image must be specified. + "sourceMachineImageEncryptionKey": { # Thecustomer-supplied + # encryption key of the source machine image. Required if the source + # machine image is protected by a customer-supplied encryption key. + "kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. + # For example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # + # The fully-qualifed key name may be returned for resource GET requests. For + # example: + # + # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ + # key_region/cryptoKeys/key + # /cryptoKeyVersions/1 + "kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS + # key. If absent, the Compute Engine default service account is used. + # For example: + # + # "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + "rawKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies a 256-bit customer-supplied + # encryption key, encoded in RFC + # 4648 base64 to either encrypt or decrypt this resource. You can + # provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rawKey": + # "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + "rsaEncryptedKey": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit + # customer-supplied encryption key to either encrypt or decrypt this + # resource. You can provide either the rawKey or thersaEncryptedKey. + # For example: + # + # "rsaEncryptedKey": + # "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH + # z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD + # D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" + # + # The key must meet the following requirements before you can provide it to + # Compute Engine: + # + # 1. The key is wrapped using a RSA public key certificate provided by + # Google. + # 2. After being wrapped, the key must be encoded in RFC 4648 base64 + # encoding. + # + # Gets the RSA public key certificate provided by Google at: + # + # + # https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem + "sha256": "A String", # [DEPRECATED] CSEK is no longer supported. Use CMEK instead. + # [Output only] TheRFC + # 4648 base64 encoded SHA-256 hash of the customer-supplied + # encryption key that protects this resource. + }, + "sourceMachineImageId": "A String", # Output only. [Output Only] The unique ID of the machine image used to create this disk. + # This value identifies the exact machine image that was used to create this + # persistent disk. For example, if you created the persistent disk from a + # machine image that was later deleted and recreated under the same name, the + # source machine image ID would identify the exact version of the machine + # image that was used. "sourceSnapshot": "A String", # The source snapshot used to create this disk. You can provide this as a # partial or full URL to the resource. For example, the following are valid # values: diff --git a/docs/dyn/compute_v1.regionInstanceTemplates.html b/docs/dyn/compute_v1.regionInstanceTemplates.html index 948f9f5f19..5b41272231 100644 --- a/docs/dyn/compute_v1.regionInstanceTemplates.html +++ b/docs/dyn/compute_v1.regionInstanceTemplates.html @@ -484,7 +484,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1027,6 +1033,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1107,6 +1128,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1349,6 +1385,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -1398,6 +1437,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only @@ -1524,7 +1564,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -2067,6 +2113,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2147,6 +2208,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -2389,6 +2465,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -2438,6 +2517,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only @@ -2944,7 +3024,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -3487,6 +3573,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3567,6 +3668,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -3809,6 +3925,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -3858,6 +3977,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "region": "A String", # Output only. [Output Only] URL of the region where the instance template resides. Only diff --git a/docs/dyn/compute_v1.regionInstances.html b/docs/dyn/compute_v1.regionInstances.html index acafd33945..5988c41219 100644 --- a/docs/dyn/compute_v1.regionInstances.html +++ b/docs/dyn/compute_v1.regionInstances.html @@ -624,7 +624,13 @@

Method Details

"confidentialInstanceConfig": { # A set of Confidential Instance options. # Specifies the Confidential Instance options. # Note that for MachineImage, this is not supported yet. "confidentialInstanceType": "A String", # Defines the type of technology used by the confidential instance. + "confidentialParavisorConfig": { # A set of Confidential Paravisor (SVSM) options. # Defines a set of Confidential Paravisor (SVSM) options. + "confidentialTpmType": "A String", # Defines the type of TPM to use for the confidential instance. + "sevSnpIrqMode": "A String", # Defines the IRQ mode to use for the confidential instance. + }, "enableConfidentialCompute": True or False, # Defines whether the instance should have confidential compute enabled. + # When enabled, the technology used defaults to + # AMD SEV unless confidentialInstanceType is specified. }, "description": "A String", # An optional text description for the instances that are created from these # properties. @@ -1167,6 +1173,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1247,6 +1268,21 @@

Method Details

# assign an external IPv6 address from the instance's subnetwork. "externalIpv6PrefixLength": 42, # Applies to ipv6AccessConfigs only. The prefix length of the # external IPv6 range. + "ipCollection": "A String", # Reference to the source of external IPv4 addresses, + # like a PublicDelegatedPrefix (PDP) for BYOIP. + # The PDP must support enhanced IPv4 allocations. + # + # Use one of the following formats to specify a PDP when allocating an + # external IPv4 address using BYOIP. + # + # - + # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - + # Partial URL, as in + # + # + # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name + # - regions/region/publicDelegatedPrefixes/pdp-name "kind": "compute#accessConfig", # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs. "name": "A String", # The name of this access configuration. In accessConfigs # (IPv4), the default and recommended name is External NAT, but @@ -1489,6 +1525,9 @@

Method Details

# to 315,576,000,000 inclusive. Note: these bounds are computed from: # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years }, + "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). "provisioningModel": "A String", # Specifies the provisioning model of the instance. "skipGuestOsShutdown": True or False, # Defines whether GCE ACPI G2 Soft # Off signal should be skipped during shutdown operation of VM. @@ -1538,6 +1577,7 @@

Method Details

"workloadIdentityConfig": { "identity": "A String", "identityCertificateEnabled": True or False, + "identityType": "A String", }, }, "locationPolicy": { # Configuration for location policy among multiple possible locations # Policy for choosing target zone. For more information, seeCreate VMs in diff --git a/docs/dyn/compute_v1.regionNetworkFirewallPolicies.html b/docs/dyn/compute_v1.regionNetworkFirewallPolicies.html index ce90de4392..1d9d366901 100644 --- a/docs/dyn/compute_v1.regionNetworkFirewallPolicies.html +++ b/docs/dyn/compute_v1.regionNetworkFirewallPolicies.html @@ -1828,6 +1828,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -3473,6 +3483,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -4317,6 +4337,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # @@ -4828,6 +4858,16 @@

Method Details

], "parent": "A String", # Output only. [Output Only] The parent of the firewall policy. # This field is not applicable to network firewall policies. + "policySource": "A String", # Indicates the source of this Firewall Policy. This field is optional on + # creation and defaults to USER_DEFINED. + # + # The USER_DEFINED value indicates a regular firewall policy. + # + # The SYSTEM value indicates a system-level policy managed by an + # internal service like GKE. This SYSTEM value is reserved for + # internal services and cannot be set by users during policy creation. + # Policies with a SYSTEM source cannot be modified or deleted by + # users. "policyType": "A String", # The type of the firewall policy. This field can be one of # VPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY. # diff --git a/docs/dyn/compute_v1.regionSnapshots.html b/docs/dyn/compute_v1.regionSnapshots.html index 5002fcf954..1a6507953e 100644 --- a/docs/dyn/compute_v1.regionSnapshots.html +++ b/docs/dyn/compute_v1.regionSnapshots.html @@ -620,7 +620,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1336,7 +1337,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2063,7 +2065,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_v1.regionSslPolicies.html b/docs/dyn/compute_v1.regionSslPolicies.html index 0bcfd7c26b..641148ab26 100644 --- a/docs/dyn/compute_v1.regionSslPolicies.html +++ b/docs/dyn/compute_v1.regionSslPolicies.html @@ -83,6 +83,9 @@

Instance Methods

get(project, region, sslPolicy, x__xgafv=None)

Lists all of the ordered rules present in a single specified policy.

+

+ 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, x__xgafv=None)

Creates a new policy in the specified project and region using the data

@@ -98,6 +101,12 @@

Instance Methods

patch(project, region, sslPolicy, body=None, requestId=None, x__xgafv=None)

Patches the specified SSL policy with the data included in the request.

+

+ 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() @@ -512,6 +521,375 @@

Method Details

}
+
+ 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, x__xgafv=None)
Creates a new policy in the specified project and region using the data
@@ -1621,4 +1999,913 @@ 

Method Details

}
+
+ 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).
+}
+
+ +
+ 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",
+  ],
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/compute_v1.regionTargetHttpsProxies.html b/docs/dyn/compute_v1.regionTargetHttpsProxies.html index 4cdca49e21..6719b695b4 100644 --- a/docs/dyn/compute_v1.regionTargetHttpsProxies.html +++ b/docs/dyn/compute_v1.regionTargetHttpsProxies.html @@ -549,7 +549,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -724,7 +724,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1279,7 +1279,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1506,7 +1506,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_v1.regionUrlMaps.html b/docs/dyn/compute_v1.regionUrlMaps.html index 86e2ef0fae..9763ff00c3 100644 --- a/docs/dyn/compute_v1.regionUrlMaps.html +++ b/docs/dyn/compute_v1.regionUrlMaps.html @@ -818,6 +818,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -873,6 +878,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -1692,6 +1708,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -1747,6 +1768,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -2547,6 +2579,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -2602,6 +2639,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -3622,6 +3670,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -3677,6 +3730,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -4032,6 +4096,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -4490,6 +4560,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -4545,6 +4620,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -5364,6 +5450,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -5419,6 +5510,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -6219,6 +6321,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -6274,6 +6381,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -7294,6 +7412,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -7349,6 +7472,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -7704,6 +7838,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -8531,6 +8671,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -8586,6 +8731,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -9405,6 +9561,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -9460,6 +9621,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -10260,6 +10432,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -10315,6 +10492,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -11335,6 +11523,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -11390,6 +11583,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -11745,6 +11949,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -12254,6 +12464,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -12309,6 +12524,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -13128,6 +13354,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -13183,6 +13414,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -13983,6 +14225,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -14038,6 +14285,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -15058,6 +15316,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -15113,6 +15376,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -15468,6 +15742,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -16211,6 +16491,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -16266,6 +16551,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -17085,6 +17381,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -17140,6 +17441,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -17940,6 +18252,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -17995,6 +18312,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -19015,6 +19343,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -19070,6 +19403,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -19425,6 +19769,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -20170,6 +20520,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -20225,6 +20580,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -21044,6 +21410,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -21099,6 +21470,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -21899,6 +22281,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -21954,6 +22341,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -22974,6 +23372,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -23029,6 +23432,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -23384,6 +23798,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -23444,6 +23864,10 @@

Method Details

], "loadSucceeded": True or False, # Whether the given UrlMap can be successfully loaded. # If false, 'loadErrors' indicates the reasons. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, "testFailures": [ { "actualOutputUrl": "A String", # The actual output URL evaluated by a load balancer containing the scheme, diff --git a/docs/dyn/compute_v1.routers.html b/docs/dyn/compute_v1.routers.html index 2be182a31f..17f30791f9 100644 --- a/docs/dyn/compute_v1.routers.html +++ b/docs/dyn/compute_v1.routers.html @@ -3413,6 +3413,7 @@

Method Details

}, "uptimeMs": "A String", # Session uptime in milliseconds. Value will be 0 if session is not up. }, + "depreferenced": True or False, # Output only. [Output Only] Indicates whether the BGP peer is in a depreferenced state. "enableIpv4": True or False, # Output only. Enable IPv4 traffic over BGP Peer. # It is enabled by default if the peerIpAddress is version 4. "enableIpv6": True or False, # Output only. Enable IPv6 traffic over BGP Peer. diff --git a/docs/dyn/compute_v1.snapshots.html b/docs/dyn/compute_v1.snapshots.html index 48c246ef8d..7083339502 100644 --- a/docs/dyn/compute_v1.snapshots.html +++ b/docs/dyn/compute_v1.snapshots.html @@ -618,7 +618,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -1335,7 +1336,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is @@ -2061,7 +2063,8 @@

Method Details

# belongs to. The usage of snapshot group feature is restricted. "snapshotGroupName": "A String", # Output only. [Output only] The snapshot group that this snapshot belongs to. The usage # of snapshot group feature is restricted. - "snapshotType": "A String", # Indicates the type of the snapshot. + "snapshotType": "A String", # Indicates the type of the snapshot. Valid values are ARCHIVE + # or STANDARD. The default is STANDARD. "sourceDisk": "A String", # The source disk used to create this snapshot. "sourceDiskEncryptionKey": { # The customer-supplied # encryption key of the source disk. Required if the source disk is diff --git a/docs/dyn/compute_v1.sslPolicies.html b/docs/dyn/compute_v1.sslPolicies.html index 81f9f1cbd1..2835334dd6 100644 --- a/docs/dyn/compute_v1.sslPolicies.html +++ b/docs/dyn/compute_v1.sslPolicies.html @@ -89,6 +89,9 @@

Instance Methods

get(project, sslPolicy, x__xgafv=None)

Lists all of the ordered rules present in a single specified policy.

+

+ getIamPolicy(project, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)

+

Gets the access control policy for a resource. May be empty if no such

insert(project, body=None, requestId=None, x__xgafv=None)

Returns the specified SSL policy resource.

@@ -104,6 +107,12 @@

Instance Methods

patch(project, sslPolicy, body=None, requestId=None, x__xgafv=None)

Patches the specified SSL policy with the data included in the request.

+

+ setIamPolicy(project, resource, body=None, x__xgafv=None)

+

Sets the access control policy on the specified resource.

+

+ testIamPermissions(project, resource, body=None, x__xgafv=None)

+

Returns permissions that a caller has on the specified resource.

Method Details

aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, serviceProjectNumber=None, x__xgafv=None) @@ -789,6 +798,374 @@

Method Details

}
+
+ getIamPolicy(project, 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)
+  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, body=None, requestId=None, x__xgafv=None)
Returns the specified SSL policy resource.
@@ -1893,4 +2270,911 @@ 

Method Details

}
+
+ setIamPolicy(project, 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)
+  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 backward 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).
+}
+
+ +
+ testIamPermissions(project, 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)
+  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",
+  ],
+}
+
+ \ No newline at end of file diff --git a/docs/dyn/compute_v1.targetHttpsProxies.html b/docs/dyn/compute_v1.targetHttpsProxies.html index 36d562d3a8..9bd1c39690 100644 --- a/docs/dyn/compute_v1.targetHttpsProxies.html +++ b/docs/dyn/compute_v1.targetHttpsProxies.html @@ -348,7 +348,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -915,7 +915,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1089,7 +1089,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1643,7 +1643,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy @@ -1869,7 +1869,7 @@

Method Details

# Certificate Manager Certificates accepted formats are: # # - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}. - # - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. + # - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}. "A String", ], "sslPolicy": "A String", # URL of SslPolicy resource that will be associated with the TargetHttpsProxy diff --git a/docs/dyn/compute_v1.urlMaps.html b/docs/dyn/compute_v1.urlMaps.html index 51ac923f67..a5bf202da6 100644 --- a/docs/dyn/compute_v1.urlMaps.html +++ b/docs/dyn/compute_v1.urlMaps.html @@ -625,6 +625,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -680,6 +685,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -1499,6 +1515,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -1554,6 +1575,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -2354,6 +2386,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -2409,6 +2446,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -3429,6 +3477,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -3484,6 +3537,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -3839,6 +3903,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -4688,6 +4758,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -4743,6 +4818,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -5562,6 +5648,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -5617,6 +5708,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -6417,6 +6519,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -6472,6 +6579,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -7492,6 +7610,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -7547,6 +7670,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -7902,6 +8036,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -8359,6 +8499,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -8414,6 +8559,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -9233,6 +9389,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -9288,6 +9449,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -10088,6 +10260,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -10143,6 +10320,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -11163,6 +11351,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -11218,6 +11411,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -11573,6 +11777,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -11928,6 +12138,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. # # @@ -11942,10 +12158,15 @@

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. This field also accepts wildcards (*) to replace the # leftmost (or first) label of a hostname. For example, *.example.com will # match www.example.com, but not sub1.dev.example.com. + "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", } @@ -12742,6 +12963,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -12797,6 +13023,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -13616,6 +13853,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -13671,6 +13913,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -14471,6 +14724,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -14526,6 +14784,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -15546,6 +15815,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -15601,6 +15875,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -15956,6 +16241,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -16464,6 +16755,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -16519,6 +16815,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -17338,6 +17645,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -17393,6 +17705,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -18193,6 +18516,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -18248,6 +18576,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -19268,6 +19607,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -19323,6 +19667,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -19678,6 +20033,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -20464,6 +20825,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -20519,6 +20885,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -21338,6 +21715,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -21393,6 +21775,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -22193,6 +22586,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -22248,6 +22646,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -23268,6 +23677,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -23323,6 +23737,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -23678,6 +24103,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -24450,6 +24881,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -24505,6 +24941,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -25324,6 +25771,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -25379,6 +25831,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -26179,6 +26642,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -26234,6 +26702,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -27254,6 +27733,11 @@

Method Details

# seconds. This field translates to the Access-Control-Max-Age # header. }, + "dynamicCompressionPolicy": { # Dynamic compression policy for this URL Map's route. # Dynamic compression policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + "compressionMode": "A String", # Compress text responses using Brotli or gzip compression, based on + # the client's Accept-Encoding header. + }, "faultInjectionPolicy": { # The specification for fault injection introduced into traffic to test # The specification for fault injection introduced into traffic to test # the resiliency of clients to backend service failure. As part of fault # injection, when clients send requests to a backend service, delays can be @@ -27309,6 +27793,17 @@

Method Details

# The value must be from 0.0 to 100.0 inclusive. }, }, + "imageOptimizationPolicy": { # The configuration for Cloud CDN's image optimization feature. This feature # Image optimization policy for this URL Map's route. Available only for + # Global EXTERNAL_MANAGED load balancer schemes. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route + # dynamically processes and delivers images from the network edge. + # Image Optimization is only available for Global External Application Load + # Balancers. + # Either Cloud CDN must be enabled on the backend service or backend bucket + # serving the route, or cache policy must be configured on the same route. + "queryParameterInterpretation": "A String", # Specifies whether to interpret query parameters for image optimization. + }, "maxStreamDuration": { # A Duration represents a fixed-length span of time represented # Specifies the maximum duration (timeout) for streams on the selected route. # Unlike the timeout field where the timeout duration starts # from the time the request has been fully processed (known as*end-of-stream*), @@ -27664,6 +28159,12 @@

Method Details

# You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "status": { # [Output Only] The status of the URL map. # Output only. [Output Only] The status of the URL map. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, + }, "tests": [ # The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a # maximum of 100 tests per UrlMap. # @@ -27724,6 +28225,10 @@

Method Details

], "loadSucceeded": True or False, # Whether the given UrlMap can be successfully loaded. # If false, 'loadErrors' indicates the reasons. + "quotaUsage": { # Message representing the quota usage for a UrlMap. # Output only. Summary of quota usage for given UrlMap. + "forwardingRules": 42, # Output only. The number of forwarding rules that uses this UrlMap. + "units": "A String", # Output only. The number of quota units calculated for this UrlMap. + }, "testFailures": [ { "actualOutputUrl": "A String", # The actual output URL evaluated by a load balancer containing the scheme, diff --git a/docs/dyn/compute_v1.wireGroups.html b/docs/dyn/compute_v1.wireGroups.html index f58150be5d..15c1a49916 100644 --- a/docs/dyn/compute_v1.wireGroups.html +++ b/docs/dyn/compute_v1.wireGroups.html @@ -518,6 +518,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, "wires": [ # Output only. The single/redundant wire(s) managed by the wire group. { # A pseudowire that connects two Interconnect connections. @@ -559,6 +560,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, }, ], @@ -672,6 +674,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, "wires": [ # Output only. The single/redundant wire(s) managed by the wire group. { # A pseudowire that connects two Interconnect connections. @@ -713,6 +716,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, }, ], @@ -1208,6 +1212,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, "wires": [ # Output only. The single/redundant wire(s) managed by the wire group. { # A pseudowire that connects two Interconnect connections. @@ -1249,6 +1254,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, }, ], @@ -1417,6 +1423,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, "wires": [ # Output only. The single/redundant wire(s) managed by the wire group. { # A pseudowire that connects two Interconnect connections. @@ -1458,6 +1465,7 @@

Method Details

# - DISABLE_PORT: set the port line protocol down when inline probes # detect a fault. This setting is only permitted on port mode # pseudowires. + "flowManagement": "A String", # The flow management configuration for the wire. }, }, ], diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.html b/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.html index e8eaf2cfb3..1d207adc14 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.html @@ -138,6 +138,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -177,6 +179,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -209,6 +213,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -273,6 +279,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -312,6 +320,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -356,6 +366,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -418,6 +430,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.html b/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.html index cca37eed88..8a2257040d 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSets.authorizedViews.conversations.html @@ -511,6 +511,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -603,6 +605,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -617,6 +620,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1143,6 +1147,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -1235,6 +1241,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1249,6 +1256,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.autoLabelingRules.html b/docs/dyn/contactcenterinsights_v1.projects.locations.autoLabelingRules.html index dfd48e62cd..9361f56462 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.autoLabelingRules.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.autoLabelingRules.html @@ -622,6 +622,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -714,6 +716,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -728,6 +731,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.assessments.html b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.assessments.html index bdb5e943b9..c4e90f212d 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.assessments.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.assessments.html @@ -138,6 +138,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -177,6 +179,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -209,6 +213,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -273,6 +279,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -312,6 +320,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -356,6 +366,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -418,6 +430,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html index 3cfc956224..e71ca0c7c6 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.conversations.html @@ -601,6 +601,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -693,6 +695,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -707,6 +710,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1215,6 +1219,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -1307,6 +1313,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1321,6 +1328,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1891,6 +1899,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -1983,6 +1993,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1997,6 +2008,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -2592,6 +2604,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -2684,6 +2698,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -2698,6 +2713,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -3224,6 +3240,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -3316,6 +3334,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -3330,6 +3349,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -3840,6 +3860,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -3932,6 +3954,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -3946,6 +3969,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -4515,6 +4539,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -4607,6 +4633,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -4621,6 +4648,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.datasets.conversations.html b/docs/dyn/contactcenterinsights_v1.projects.locations.datasets.conversations.html index b8550b16f0..76af27e8c2 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.datasets.conversations.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.datasets.conversations.html @@ -566,6 +566,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -658,6 +660,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -672,6 +675,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1267,6 +1271,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -1359,6 +1365,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1373,6 +1380,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. diff --git a/docs/dyn/contactcenterinsights_v1.projects.locations.html b/docs/dyn/contactcenterinsights_v1.projects.locations.html index e91357275e..a32314f30d 100644 --- a/docs/dyn/contactcenterinsights_v1.projects.locations.html +++ b/docs/dyn/contactcenterinsights_v1.projects.locations.html @@ -1042,6 +1042,8 @@

Method Details

"entrySubagentDisplayName": "A String", # The entry subagent's display name. "entrySubagentId": "A String", # The entry subagent's ID. "location": "A String", # The agent's location. + "studyArmId": "A String", # The study arm ID associated with the conversation. Only applicable to automated agents. + "studyId": "A String", # The study ID associated with the conversation. Only applicable to automated agents. "team": "A String", # A user-specified string representing the agent's team. Deprecated in favor of the `teams` field. "teams": [ # User-specified strings representing the agent's teams. "A String", @@ -1134,6 +1136,7 @@

Method Details

"displayName": "A String", # Output only. Display name of the tool. "id": "A String", # Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. "parentToolCallId": "A String", # Output only. The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling. + "targetApp": "A String", # Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool to execute. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. @@ -1148,6 +1151,7 @@

Method Details

"response": { # Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. "a_key": "", # Properties of the object. }, + "targetApp": "A String", # Output only. The app the executed tool targeted; mirrors ToolCall.target_app. "tool": "A String", # Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` "toolsetTool": { # A tool that is created from a toolset. # Optional. The toolset tool that got executed. "toolId": "A String", # Optional. The tool ID to filter the tools to retrieve the schema for. diff --git a/docs/dyn/container_v1.projects.locations.clusters.html b/docs/dyn/container_v1.projects.locations.clusters.html index c624daa557..d042b79adf 100644 --- a/docs/dyn/container_v1.projects.locations.clusters.html +++ b/docs/dyn/container_v1.projects.locations.clusters.html @@ -422,6 +422,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -496,6 +502,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -790,6 +802,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -835,6 +850,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -922,6 +938,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -944,6 +961,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -991,6 +1010,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1214,6 +1234,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1261,6 +1283,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1347,6 +1370,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1394,6 +1419,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1436,6 +1462,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1523,6 +1550,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1545,6 +1573,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1592,6 +1622,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1797,6 +1828,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1937,7 +1969,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -2246,6 +2278,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -2320,6 +2358,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -2614,6 +2658,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -2659,6 +2706,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2746,6 +2794,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -2768,6 +2817,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2815,6 +2866,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3038,6 +3090,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3085,6 +3139,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3171,6 +3226,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3218,6 +3275,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3260,6 +3318,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -3347,6 +3406,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -3369,6 +3429,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3416,6 +3478,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3621,6 +3684,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -3761,7 +3825,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -3927,6 +3991,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -4001,6 +4071,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -4295,6 +4371,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -4340,6 +4419,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -4427,6 +4507,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -4449,6 +4530,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4496,6 +4579,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -4719,6 +4803,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4766,6 +4852,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -4852,6 +4939,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4899,6 +4988,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -4941,6 +5031,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -5028,6 +5119,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -5050,6 +5142,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5097,6 +5191,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5302,6 +5397,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -5442,7 +5538,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -5568,6 +5664,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. "name": "A String", # The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`. @@ -6515,6 +6617,15 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, + }, + "desiredAmbientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. The desired ambient networking configuration. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. }, "desiredAnonymousAuthenticationConfig": { # AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication. # Configuration for limiting anonymous access to all endpoints except the health checks. "mode": "A String", # Defines the mode of limiting anonymous access in the cluster. @@ -6585,6 +6696,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -6826,6 +6943,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -6873,6 +6992,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -6887,6 +7007,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -6934,6 +7056,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7093,7 +7216,7 @@

Method Details

}, "desiredSecurityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "desiredServiceExternalIpsConfig": { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. "enabled": True or False, # Whether Services with ExternalIPs field are allowed or not. diff --git a/docs/dyn/container_v1.projects.locations.clusters.nodePools.html b/docs/dyn/container_v1.projects.locations.clusters.nodePools.html index 9d4749e06b..206b8dc1da 100644 --- a/docs/dyn/container_v1.projects.locations.clusters.nodePools.html +++ b/docs/dyn/container_v1.projects.locations.clusters.nodePools.html @@ -182,6 +182,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -269,6 +270,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -291,6 +293,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -338,6 +342,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -543,6 +548,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -837,6 +843,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -924,6 +931,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -946,6 +954,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -993,6 +1003,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1198,6 +1209,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1314,6 +1326,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1401,6 +1414,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1423,6 +1437,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1470,6 +1486,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1675,6 +1692,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2090,6 +2108,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2188,6 +2207,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2235,6 +2256,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -2318,6 +2340,7 @@

Method Details

}, "maxRunDuration": "A String", # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. "name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + "nodeConfigUpdateMode": "A String", # Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior. "nodeDrainConfig": { # NodeDrainConfig contains the node drain related configurations for this node pool. # The desired node drain configuration for nodes in the node pool. "graceTerminationDuration": "A String", # The duration of the grace termination period for node drain. "pdbTimeoutDuration": "A String", # The duration of the PDB timeout period for node drain. @@ -2342,6 +2365,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. diff --git a/docs/dyn/container_v1.projects.zones.clusters.html b/docs/dyn/container_v1.projects.zones.clusters.html index 0acb1b5142..2e91f8ab56 100644 --- a/docs/dyn/container_v1.projects.zones.clusters.html +++ b/docs/dyn/container_v1.projects.zones.clusters.html @@ -225,6 +225,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. "name": "A String", # The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`. @@ -536,6 +542,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -610,6 +622,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -904,6 +922,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -949,6 +970,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1036,6 +1058,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1058,6 +1081,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1105,6 +1130,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1328,6 +1354,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1375,6 +1403,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1461,6 +1490,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1508,6 +1539,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1550,6 +1582,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1637,6 +1670,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1659,6 +1693,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1706,6 +1742,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1911,6 +1948,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2051,7 +2089,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -2360,6 +2398,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -2434,6 +2478,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -2728,6 +2778,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -2773,6 +2826,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2860,6 +2914,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -2882,6 +2937,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2929,6 +2986,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3152,6 +3210,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3199,6 +3259,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3285,6 +3346,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3332,6 +3395,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3374,6 +3438,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -3461,6 +3526,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -3483,6 +3549,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3530,6 +3598,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3735,6 +3804,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -3875,7 +3945,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -4085,6 +4155,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -4159,6 +4235,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -4453,6 +4535,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -4498,6 +4583,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -4585,6 +4671,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -4607,6 +4694,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4654,6 +4743,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -4877,6 +4967,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4924,6 +5016,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5010,6 +5103,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5057,6 +5152,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5099,6 +5195,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -5186,6 +5283,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -5208,6 +5306,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5255,6 +5355,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5460,6 +5561,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -5600,7 +5702,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -6542,6 +6644,15 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, + }, + "desiredAmbientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. The desired ambient networking configuration. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. }, "desiredAnonymousAuthenticationConfig": { # AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication. # Configuration for limiting anonymous access to all endpoints except the health checks. "mode": "A String", # Defines the mode of limiting anonymous access in the cluster. @@ -6612,6 +6723,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -6853,6 +6970,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -6900,6 +7019,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -6914,6 +7034,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -6961,6 +7083,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7120,7 +7243,7 @@

Method Details

}, "desiredSecurityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "desiredServiceExternalIpsConfig": { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. "enabled": True or False, # Whether Services with ExternalIPs field are allowed or not. diff --git a/docs/dyn/container_v1.projects.zones.clusters.nodePools.html b/docs/dyn/container_v1.projects.zones.clusters.nodePools.html index ae4bb567f6..90f83ade4b 100644 --- a/docs/dyn/container_v1.projects.zones.clusters.nodePools.html +++ b/docs/dyn/container_v1.projects.zones.clusters.nodePools.html @@ -247,6 +247,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -334,6 +335,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -356,6 +358,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -403,6 +407,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -608,6 +613,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -902,6 +908,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -989,6 +996,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1011,6 +1019,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1058,6 +1068,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1263,6 +1274,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1379,6 +1391,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1466,6 +1479,7 @@

Method Details

"enableConfidentialStorage": True or False, # Optional. Reserved for future use. "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1488,6 +1502,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1535,6 +1551,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1740,6 +1757,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2080,6 +2098,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2178,6 +2197,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2225,6 +2246,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -2308,6 +2330,7 @@

Method Details

}, "maxRunDuration": "A String", # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. "name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + "nodeConfigUpdateMode": "A String", # Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior. "nodeDrainConfig": { # NodeDrainConfig contains the node drain related configurations for this node pool. # The desired node drain configuration for nodes in the node pool. "graceTerminationDuration": "A String", # The duration of the grace termination period for node drain. "pdbTimeoutDuration": "A String", # The duration of the PDB timeout period for node drain. @@ -2332,6 +2355,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. diff --git a/docs/dyn/container_v1beta1.projects.locations.clusters.html b/docs/dyn/container_v1beta1.projects.locations.clusters.html index 1a6421b72b..3cac27a6c6 100644 --- a/docs/dyn/container_v1beta1.projects.locations.clusters.html +++ b/docs/dyn/container_v1beta1.projects.locations.clusters.html @@ -429,6 +429,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -506,6 +512,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -816,6 +828,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -861,6 +876,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -952,6 +968,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -982,6 +999,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1029,6 +1048,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1254,6 +1274,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1301,6 +1323,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1395,6 +1418,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1442,6 +1467,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1487,6 +1513,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1578,6 +1605,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1608,6 +1636,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1655,6 +1685,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1863,6 +1894,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1969,7 +2001,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -2014,7 +2046,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -2343,6 +2375,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -2420,6 +2458,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -2730,6 +2774,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -2775,6 +2822,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2866,6 +2914,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -2896,6 +2945,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2943,6 +2994,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3168,6 +3220,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3215,6 +3269,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3309,6 +3364,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3356,6 +3413,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3401,6 +3459,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -3492,6 +3551,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -3522,6 +3582,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3569,6 +3631,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3777,6 +3840,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -3883,7 +3947,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -3928,7 +3992,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -4114,6 +4178,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -4191,6 +4261,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -4501,6 +4577,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -4546,6 +4625,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -4637,6 +4717,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -4667,6 +4748,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4714,6 +4797,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -4939,6 +5023,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4986,6 +5072,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5080,6 +5167,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5127,6 +5216,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5172,6 +5262,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -5263,6 +5354,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -5293,6 +5385,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5340,6 +5434,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5548,6 +5643,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -5654,7 +5750,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -5699,7 +5795,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -5845,6 +5941,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. "name": "A String", # The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`. @@ -6799,6 +6901,15 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, + }, + "desiredAmbientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. The desired ambient networking configuration. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. }, "desiredAnonymousAuthenticationConfig": { # AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication. # Configuration for limiting anonymous access to all endpoints except the health checks. "mode": "A String", # Defines the mode of limiting anonymous access in the cluster. @@ -6874,6 +6985,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -7132,6 +7249,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -7179,6 +7298,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7193,6 +7313,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -7240,6 +7362,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7374,7 +7497,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "desiredRbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -7414,7 +7537,7 @@

Method Details

}, "desiredSecurityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "desiredServiceExternalIpsConfig": { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. "enabled": True or False, # Whether Services with ExternalIPs field are allowed or not. diff --git a/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html b/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html index 86fe5f89d4..feed7564a6 100644 --- a/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html +++ b/docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html @@ -182,6 +182,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -273,6 +274,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -303,6 +305,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -350,6 +354,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -558,6 +563,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -853,6 +859,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -944,6 +951,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -974,6 +982,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1021,6 +1031,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1229,6 +1240,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1346,6 +1358,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1437,6 +1450,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1467,6 +1481,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1514,6 +1530,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1722,6 +1739,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2138,6 +2156,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2237,6 +2256,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2284,6 +2305,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -2367,6 +2389,7 @@

Method Details

}, "maxRunDuration": "A String", # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. "name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + "nodeConfigUpdateMode": "A String", # Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior. "nodeDrainConfig": { # NodeDrainConfig contains the node drain related configurations for this node pool. # The desired node drain configuration for nodes in the node pool. "graceTerminationDuration": "A String", # The duration of the grace termination period for node drain. "pdbTimeoutDuration": "A String", # The duration of the PDB timeout period for node drain. @@ -2392,6 +2415,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2411,6 +2435,9 @@

Method Details

}, "nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. "nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version + "nodes": [ # Optional. The nodes to upgrade. The field can only be used together with the node_version field. + "A String", + ], "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. "queuedProvisioning": { # QueuedProvisioning defines the queued provisioning used by the node pool. # Specifies the configuration of queued provisioning. "enabled": True or False, # Denotes that this node pool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API. diff --git a/docs/dyn/container_v1beta1.projects.zones.clusters.html b/docs/dyn/container_v1beta1.projects.zones.clusters.html index 347c09c6c3..c672721157 100644 --- a/docs/dyn/container_v1beta1.projects.zones.clusters.html +++ b/docs/dyn/container_v1beta1.projects.zones.clusters.html @@ -232,6 +232,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field. "name": "A String", # The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`. @@ -550,6 +556,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -627,6 +639,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -937,6 +955,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -982,6 +1003,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1073,6 +1095,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1103,6 +1126,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1150,6 +1175,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1375,6 +1401,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1422,6 +1450,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1516,6 +1545,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1563,6 +1594,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1608,6 +1640,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1699,6 +1732,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1729,6 +1763,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1776,6 +1812,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1984,6 +2021,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2090,7 +2128,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -2135,7 +2173,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -2464,6 +2502,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -2541,6 +2585,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -2851,6 +2901,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -2896,6 +2949,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2987,6 +3041,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -3017,6 +3072,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3064,6 +3121,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3289,6 +3347,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3336,6 +3396,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3430,6 +3491,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3477,6 +3540,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3522,6 +3586,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -3613,6 +3678,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -3643,6 +3709,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -3690,6 +3758,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -3898,6 +3967,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -4004,7 +4074,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -4049,7 +4119,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -4279,6 +4349,12 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, }, "alphaClusterFeatureGates": [ # The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false") "A String", @@ -4356,6 +4432,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -4666,6 +4748,9 @@

Method Details

"name": "A String", # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter. "network": "A String", # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name. "networkConfig": { # NetworkConfig reports the relative names of network & subnetwork. # Configuration for cluster networking. + "ambientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. Contains the desired config of Ambient Networking mode on this cluster. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. + }, "datapathProvider": "A String", # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. "dataplaneV2Config": { # DataplaneV2Config is the configuration for DPv2. # Optional. DataplaneV2Config specifies the DPv2 configuration. "scalabilityMode": "A String", # Optional. Scalability mode for the cluster. @@ -4711,6 +4796,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -4802,6 +4888,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -4832,6 +4919,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -4879,6 +4968,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5104,6 +5194,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5151,6 +5243,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5245,6 +5338,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5292,6 +5387,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5337,6 +5433,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -5428,6 +5525,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -5458,6 +5556,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -5505,6 +5605,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -5713,6 +5814,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -5819,7 +5921,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "rbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -5864,7 +5966,7 @@

Method Details

}, "securityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "selfLink": "A String", # Output only. Server-defined URL for the resource. "servicesIpv4Cidr": "A String", # Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR. @@ -6826,6 +6928,15 @@

Method Details

"statefulHaConfig": { # Configuration for the Stateful HA add-on. # Optional. Configuration for the StatefulHA add-on. "enabled": True or False, # Whether the Stateful HA add-on is enabled for this cluster. }, + "wizSensorConfig": { # Configuration for the Wiz Sensor add-on. # Optional. Configuration for the Wiz Sensor add-on. + "apiKeySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "enabled": True or False, # Optional. Whether the Wiz Sensor add-on is enabled for this cluster. + "proxySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + "registrySecretUri": "A String", # Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: "projects/{project_id}/secrets/{secret_name}/versions/{version}" or Format: "projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}" + }, + }, + "desiredAmbientNetworkingConfig": { # AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster. # Optional. The desired ambient networking configuration. + "enabled": True or False, # Optional. If true, enable ambient networking for this cluster. }, "desiredAnonymousAuthenticationConfig": { # AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication. # Configuration for limiting anonymous access to all endpoints except the health checks. "mode": "A String", # Defines the mode of limiting anonymous access in the cluster. @@ -6901,6 +7012,12 @@

Method Details

"strategy": "A String", # Update strategy of the node pool. }, }, + "autoprovisioningRestrictionConfig": { # AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings. # Optional. Configures restrictions related to autoprovisioning settings. + "authorizedServiceAccounts": [ # Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses. + "A String", + ], + "serviceAccountPermissionCheck": "A String", # Optional. Controls whether service account validation checks are enforced for autoprovisioning. + }, "autoscalingProfile": "A String", # Defines autoscaling behaviour. "defaultComputeClassConfig": { # DefaultComputeClassConfig defines default compute class configuration. # Default compute class is a configuration for default compute class. "enabled": True or False, # Enables default compute class. @@ -7159,6 +7276,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -7206,6 +7325,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7220,6 +7340,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -7267,6 +7389,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -7401,7 +7524,7 @@

Method Details

"workloadConfig": { # WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. # WorkloadConfig defines which actions are enabled for a cluster's workload configurations. "auditMode": "A String", # Sets which mode of auditing should be used for the cluster's workloads. }, - "workloadVulnerabilityMode": "A String", # Sets which mode to use for Protect workload vulnerability scanning feature. + "workloadVulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature. }, "desiredRbacBindingConfig": { # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. # RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. "enableInsecureBindingSystemAuthenticated": True or False, # Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated. @@ -7441,7 +7564,7 @@

Method Details

}, "desiredSecurityPostureConfig": { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture API features for the cluster. "mode": "A String", # Sets which mode to use for Security Posture features. - "vulnerabilityMode": "A String", # Sets which mode to use for vulnerability scanning. + "vulnerabilityMode": "A String", # Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning. }, "desiredServiceExternalIpsConfig": { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field. "enabled": True or False, # Whether Services with ExternalIPs field are allowed or not. diff --git a/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html b/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html index 46d4b8fd98..6758289a71 100644 --- a/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html +++ b/docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html @@ -247,6 +247,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -338,6 +339,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -368,6 +370,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -415,6 +419,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -623,6 +628,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -918,6 +924,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1009,6 +1016,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1039,6 +1047,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1086,6 +1096,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1294,6 +1305,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -1411,6 +1423,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -1502,6 +1515,7 @@

Method Details

}, "ephemeralStorageLocalSsdConfig": { # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. # Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config "dataCacheCount": 42, # Number of local SSDs to use for GKE Data Cache. + "ephemeralCapacityGb": "A String", # Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block. "localSsdCount": 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info. }, "fastSocket": { # Configuration of Fast Socket feature. # Enable or disable NCCL fast socket for the node pool. @@ -1532,6 +1546,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -1579,6 +1595,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -1787,6 +1804,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2128,6 +2146,7 @@

Method Details

"acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus) "gpuDriverInstallationConfig": { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver. "gpuDriverVersion": "A String", # Mode for how the GPU driver is installed. + "specificVersion": "A String", # Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned. }, "gpuPartitionSize": "A String", # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning). "gpuSharingConfig": { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options. @@ -2227,6 +2246,8 @@

Method Details

], "containerLogMaxFiles": 42, # Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified. "containerLogMaxSize": "A String", # Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified. + "containerLogMaxWorkers": 42, # Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified. + "containerLogMonitorInterval": "A String", # Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is "10s" if unspecified. "cpuCfsQuota": True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. "cpuCfsQuotaPeriod": "A String", # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. "cpuManagerPolicy": "A String", # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. @@ -2274,6 +2295,7 @@

Method Details

"effectiveMemoryReservedMib": "A String", # Output only. The effective amount of memory reserved for system daemons. If `memory_reserved_mib` is specified, the user-specified value is used. Otherwise the GKE default is applied. "memoryReservedMib": "A String", # Optional. The amount of memory to reserve for system daemons (in MiB). This is a user-specified value. If unspecified, GKE decides the default based on node version using different formula. }, + "reservedSystemCpus": "A String", # Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. "0-3", "0,1") that can be parsed as a cpuset. "shutdownGracePeriodCriticalPodsSeconds": 42, # Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120]. "shutdownGracePeriodSeconds": 42, # Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120. "singleProcessOomKill": True or False, # Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group. @@ -2357,6 +2379,7 @@

Method Details

}, "maxRunDuration": "A String", # The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely. "name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + "nodeConfigUpdateMode": "A String", # Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior. "nodeDrainConfig": { # NodeDrainConfig contains the node drain related configurations for this node pool. # The desired node drain configuration for nodes in the node pool. "graceTerminationDuration": "A String", # The duration of the grace termination period for node drain. "pdbTimeoutDuration": "A String", # The duration of the PDB timeout period for node drain. @@ -2382,6 +2405,7 @@

Method Details

}, ], "createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. + "datapathProvider": "A String", # The datapath provider for this node pool. "enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes "network": "A String", # Optional. Immutable. The VPC network for the node pool. "networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration. @@ -2401,6 +2425,9 @@

Method Details

}, "nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field. "nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version + "nodes": [ # Optional. The nodes to upgrade. The field can only be used together with the node_version field. + "A String", + ], "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field. "queuedProvisioning": { # QueuedProvisioning defines the queued provisioning used by the node pool. # Specifies the configuration of queued provisioning. "enabled": True or False, # Denotes that this node pool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API. diff --git a/docs/dyn/dataplex_v1.projects.locations.changeRequests.html b/docs/dyn/dataplex_v1.projects.locations.changeRequests.html index 82b5991963..39d151c5d2 100644 --- a/docs/dyn/dataplex_v1.projects.locations.changeRequests.html +++ b/docs/dyn/dataplex_v1.projects.locations.changeRequests.html @@ -188,6 +188,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -281,6 +282,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -352,6 +354,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -522,6 +525,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -697,6 +701,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -790,6 +795,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -861,6 +867,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1031,6 +1038,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1236,6 +1244,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1329,6 +1338,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1400,6 +1410,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1570,6 +1581,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1736,6 +1748,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1829,6 +1842,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -1900,6 +1914,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2070,6 +2085,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2215,6 +2231,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2308,6 +2325,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2379,6 +2397,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2549,6 +2568,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2708,6 +2728,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2801,6 +2822,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -2872,6 +2894,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -3042,6 +3065,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. diff --git a/docs/dyn/dataplex_v1.projects.locations.dataProducts.html b/docs/dyn/dataplex_v1.projects.locations.dataProducts.html index f8bbe09ea1..493d808e5e 100644 --- a/docs/dyn/dataplex_v1.projects.locations.dataProducts.html +++ b/docs/dyn/dataplex_v1.projects.locations.dataProducts.html @@ -555,6 +555,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -648,6 +649,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -719,6 +721,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -889,6 +892,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. diff --git a/docs/dyn/dataplex_v1.projects.locations.dataScans.html b/docs/dyn/dataplex_v1.projects.locations.dataScans.html index 06b8b207c4..6030c08eb4 100644 --- a/docs/dyn/dataplex_v1.projects.locations.dataScans.html +++ b/docs/dyn/dataplex_v1.projects.locations.dataScans.html @@ -181,6 +181,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. @@ -911,6 +927,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. @@ -1504,6 +1536,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. @@ -2058,6 +2106,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. @@ -2630,6 +2694,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. diff --git a/docs/dyn/dataplex_v1.projects.locations.dataScans.jobs.html b/docs/dyn/dataplex_v1.projects.locations.dataScans.jobs.html index 45012ac11e..3e50b3be37 100644 --- a/docs/dyn/dataplex_v1.projects.locations.dataScans.jobs.html +++ b/docs/dyn/dataplex_v1.projects.locations.dataScans.jobs.html @@ -308,6 +308,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. @@ -819,6 +835,22 @@

Method Details

}, }, "dataDocumentationResult": { # The output of a DataDocumentation scan. # Output only. The result of a data documentation scan. + "dataProductResult": { # Generated metadata about a data product. # Output only. Insights for a data product. + "assetDescriptions": [ # Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list. + { # Description for an asset in the data product. + "overview": "A String", # Output only. A generated description for the asset. + "resource": "A String", # Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + }, + ], + "overview": "A String", # Output only. A detailed description for the data product. + "queries": [ # Output only. Unordered list. Sample SQL queries for the data product. + { # A sample SQL query in data documentation. + "description": "A String", # Output only. The description for the query. + "sql": "A String", # Output only. The SQL query string which can be executed. + "sqlDialect": "A String", # Output only. The SQL dialect of the query. + }, + ], + }, "datasetResult": { # Insights for a dataset resource. # Output only. Insights for a Dataset resource. "overview": "A String", # Output only. Generated Dataset description. "queries": [ # Output only. Sample SQL queries for the dataset. diff --git a/docs/dyn/dataplex_v1.projects.locations.entryGroups.entries.html b/docs/dyn/dataplex_v1.projects.locations.entryGroups.entries.html index df2ef3a5e1..3250841fe9 100644 --- a/docs/dyn/dataplex_v1.projects.locations.entryGroups.entries.html +++ b/docs/dyn/dataplex_v1.projects.locations.entryGroups.entries.html @@ -128,6 +128,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -181,6 +182,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -240,6 +242,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -308,6 +311,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -372,6 +376,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -443,6 +448,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -499,6 +505,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. diff --git a/docs/dyn/dataplex_v1.projects.locations.entryGroups.html b/docs/dyn/dataplex_v1.projects.locations.entryGroups.html index 4dbadeaa2a..4d27de4d37 100644 --- a/docs/dyn/dataplex_v1.projects.locations.entryGroups.html +++ b/docs/dyn/dataplex_v1.projects.locations.entryGroups.html @@ -185,6 +185,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -278,6 +279,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -375,6 +377,7 @@

Method Details

}, "name": "A String", # Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. "transferStatus": "A String", # Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. + "type": "A String", # Optional. Immutable. The type of this EntryGroup. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "uid": "A String", # Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. "updateTime": "A String", # Output only. The time when the EntryGroup was last updated. } @@ -475,6 +478,7 @@

Method Details

}, "name": "A String", # Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. "transferStatus": "A String", # Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. + "type": "A String", # Optional. Immutable. The type of this EntryGroup. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "uid": "A String", # Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. "updateTime": "A String", # Output only. The time when the EntryGroup was last updated. }
@@ -563,6 +567,7 @@

Method Details

}, "name": "A String", # Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. "transferStatus": "A String", # Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. + "type": "A String", # Optional. Immutable. The type of this EntryGroup. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "uid": "A String", # Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. "updateTime": "A String", # Output only. The time when the EntryGroup was last updated. }, @@ -612,6 +617,7 @@

Method Details

}, "name": "A String", # Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. "transferStatus": "A String", # Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. + "type": "A String", # Optional. Immutable. The type of this EntryGroup. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "uid": "A String", # Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. "updateTime": "A String", # Output only. The time when the EntryGroup was last updated. } @@ -712,6 +718,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -805,6 +812,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -843,6 +851,7 @@

Method Details

}, "name": "A String", # Required. The resource name of the EntryGroup on which the batch change applies. Format: projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id} }, + "deferredValidation": True or False, # Optional. If set to true, defers reference validation between entries to when the change request is approved and applied. Structural validation of entries and aspects is still performed at the time of submission. The default is false. "justification": "A String", # Optional. Justification for the metadata change request. "labels": { # Optional. User-defined labels for the metadata change request. "a_key": "A String", diff --git a/docs/dyn/dataplex_v1.projects.locations.html b/docs/dyn/dataplex_v1.projects.locations.html index a3411a787e..eacf2e40af 100644 --- a/docs/dyn/dataplex_v1.projects.locations.html +++ b/docs/dyn/dataplex_v1.projects.locations.html @@ -348,6 +348,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -480,6 +481,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -534,6 +536,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -604,6 +607,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. @@ -649,6 +653,7 @@

Method Details

}, }, "createTime": "A String", # Output only. The time when the entry was created in Dataplex Universal Catalog. + "entryGroupType": "A String", # Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets. "entrySource": { # Information related to the source system of the data resource that is represented by the entry. # Optional. Information related to the source system of the data resource that is represented by the entry. "ancestors": [ # Immutable. The entries representing the ancestors of the data resource in the source system. { # Information about individual items in the hierarchy that is associated with the data resource. diff --git a/docs/dyn/deepreview_v1.documents.html b/docs/dyn/deepreview_v1.documents.html index 8b791523eb..be2e64a40f 100644 --- a/docs/dyn/deepreview_v1.documents.html +++ b/docs/dyn/deepreview_v1.documents.html @@ -84,13 +84,16 @@

Instance Methods

Close httplib2 connections.

delete(name, allowMissing=None, force=None, x__xgafv=None)

-

Deletes a document and all associated reviews and stored blobs.

+

Deletes a document and its stored content. If `force` is set to `true`, any associated reviews are also deleted.

+

+ estimateReviewCost(document, body=None, x__xgafv=None)

+

Estimates what a review of a document would cost on the caller's Gemini API key. The estimate comes from what past reviews with the same model, depth, and thinking level cost, adjusted to this document's size and repriced at the Gemini API's current list prices. It covers one review attempt that runs to completion, and doesn't include retries after errors.

get(name, x__xgafv=None)

-

Retrieves document metadata and review history.

+

Retrieves document metadata. The returned document includes its `latest_review_summary` when a review exists.

list(filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists documents for the authenticated caller with cursor pagination.

+

Lists documents for the authenticated caller with cursor pagination. Each returned document includes its `latest_review_summary` when a review exists.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -102,12 +105,12 @@

Method Details

delete(name, allowMissing=None, force=None, x__xgafv=None) -
Deletes a document and all associated reviews and stored blobs.
+  
Deletes a document and its stored content. If `force` is set to `true`, any associated reviews are also deleted.
 
 Args:
-  name: string, Required. The resource name of the document to delete. Format: `documents/{document}` (required)
-  allowMissing: boolean, Optional. If set to true, and the document is not found, the request succeeds.
-  force: boolean, Optional. If set to true, any child resources (e.g. review resources) are also deleted.
+  name: string, Required. The resource name of the document to delete. (required)
+  allowMissing: boolean, Optional. If set to `true`, and the document is not found, the request succeeds.
+  force: boolean, Optional. If set to `true`, any child resources (e.g. review resources) are also deleted. If `false` and the document has existing reviews, the request fails with `FAILED_PRECONDITION`.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -120,12 +123,184 @@ 

Method Details

}
+
+ estimateReviewCost(document, body=None, x__xgafv=None) +
Estimates what a review of a document would cost on the caller's Gemini API key. The estimate comes from what past reviews with the same model, depth, and thinking level cost, adjusted to this document's size and repriced at the Gemini API's current list prices. It covers one review attempt that runs to completion, and doesn't include retries after errors.
+
+Args:
+  document: string, Required. The document to review. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for estimating what a review would cost.
+  "review": { # An evaluation run of a document. # Required. The review to estimate, as it would be passed to `CreateReview`. Only its `run_config` is read, and `gemini_api_key` is ignored.
+    "createTime": "A String", # Output only. Timestamp when this review attempt was initiated.
+    "endTime": "A String", # Output only. Timestamp when the review reached a terminal state.
+    "name": "A String", # Identifier. Resource name in format `documents/{document}/reviews/{review}`.
+    "progressPercent": 42, # Output only. Estimated completion progress percentage of the review in [0, 100].
+    "result": { # Encapsulates the synthesized output or failure details of a single review execution. # Output only. Review output (markdown, errors, and future modalities).
+      "anchoredComments": [ # Output only. Structured review comments anchored to specific locations in the document. At most 300 anchored comments are returned per review.
+        { # A structured review comment anchored to a specific location in the document.
+          "bodyMarkdown": "A String", # Output only. Detailed markdown explanation of the review comment.
+          "citationReport": { # Structured citation verification report for a single bibliography reference. # Output only. Optional structured citation verification report when this comment corresponds to a bibliography reference.
+            "citationKey": "A String", # Output only. Generated BibTeX citation key (e.g., "smith2023deep").
+            "entryType": "A String", # Output only. BibTeX entry type (e.g., "article", "inproceedings", "misc").
+            "extractedMetadata": { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata parsed from the paper's bibliography entry.
+              "authors": [ # Output only. Ordered list of authors.
+                { # Author name components.
+                  "familyName": "A String", # Output only. Author family name / surname (or organization name).
+                  "givenName": "A String", # Output only. Author given name / initials.
+                },
+              ],
+              "doi": "A String", # Output only. Digital Object Identifier (DOI).
+              "journal": "A String", # Output only. Journal, conference, or venue name.
+              "pages": "A String", # Output only. Page range or article number.
+              "publicationDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
+                "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+                "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+                "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+              },
+              "source": "A String", # Output only. Source database for retrieved metadata (e.g., "openalex", "crossref"). Empty on `extracted_metadata`.
+              "title": "A String", # Output only. Work title.
+              "urls": [ # Output only. URLs associated with the reference.
+                "A String",
+              ],
+              "volume": "A String", # Output only. Volume identifier.
+            },
+            "fieldComparisons": [ # Output only. Per-field comparisons (populated only when `retrieved_metadata` is present).
+              { # Per-field comparison result between extracted and retrieved metadata.
+                "detail": "A String", # Output only. Human-readable comparison detail (e.g., "extracted=2023, found=2024 (diff=1)").
+                "fieldKey": "A String", # Output only. Field key ("title", "authors", "year", "journal", "volume", "pages", "doi").
+                "match": True or False, # Output only. Whether the extracted and retrieved values matched.
+              },
+            ],
+            "finalVerdict": "A String", # Output only. Final combined verdict after database lookup and search grounding.
+            "firstAuthorFamilyNameMatch": True or False, # Output only. Whether the first author's family name matched between extracted and retrieved metadata.
+            "groundingUrls": [ # Output only. Web sources surfaced during Google Search grounding.
+              { # Web source URL surfaced during Google Search grounding verification.
+                "title": "A String", # Output only. Source page title or domain.
+                "url": "A String", # Output only. Source URL.
+              },
+            ],
+            "lookupVerdict": "A String", # Output only. Verdict from scholarly database lookup (OpenAlex / Crossref) before search grounding.
+            "rawReference": "A String", # Output only. Verbatim reference string extracted from the paper's bibliography.
+            "refNum": 42, # Output only. 1-indexed bibliography reference number in the paper.
+            "retrievedBibtex": "A String", # Output only. Formatted BibTeX entry for the verified `retrieved_metadata` when present. Empty when `retrieved_metadata` is absent.
+            "retrievedMetadata": { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata retrieved from OpenAlex / Crossref. Populated only when the retrieved work's title matches the extracted title. Omitted when no candidate matches the title so unrelated papers are never displayed as candidates.
+              "authors": [ # Output only. Ordered list of authors.
+                { # Author name components.
+                  "familyName": "A String", # Output only. Author family name / surname (or organization name).
+                  "givenName": "A String", # Output only. Author given name / initials.
+                },
+              ],
+              "doi": "A String", # Output only. Digital Object Identifier (DOI).
+              "journal": "A String", # Output only. Journal, conference, or venue name.
+              "pages": "A String", # Output only. Page range or article number.
+              "publicationDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
+                "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+                "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+                "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+              },
+              "source": "A String", # Output only. Source database for retrieved metadata (e.g., "openalex", "crossref"). Empty on `extracted_metadata`.
+              "title": "A String", # Output only. Work title.
+              "urls": [ # Output only. URLs associated with the reference.
+                "A String",
+              ],
+              "volume": "A String", # Output only. Volume identifier.
+            },
+            "searchMethod": "A String", # Output only. Strategy that produced the scholarly database match (e.g., "doi", "title", "title_author", "autocomplete"). Empty when no title-matching candidate was found.
+            "searchRationale": "A String", # Output only. Explanation from the Google Search grounding verification step (when run).
+            "searchVerdict": "A String", # Output only. Verdict from Google Search grounding verification (when run).
+          },
+          "commentId": "A String", # Output only. Unique identifier for the comment within the review.
+          "location": { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored.
+            "pdf": { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document.
+              "boundingBoxes": [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span.
+                { # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left).
+                  "bottom": 3.14, # Output only. Bottom coordinate in [0.0, 1.0].
+                  "left": 3.14, # Output only. Left coordinate in [0.0, 1.0].
+                  "right": 3.14, # Output only. Right coordinate in [0.0, 1.0].
+                  "top": 3.14, # Output only. Top coordinate in [0.0, 1.0].
+                },
+              ],
+              "pageNumber": 42, # Output only. 1-indexed page number within the PDF document.
+              "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting.
+                "exact": "A String", # Output only. Verbatim substring extracted from the document character stream.
+                "prefix": "A String", # Output only. Characters immediately preceding `exact` for disambiguation.
+                "suffix": "A String", # Output only. Characters immediately following `exact` for disambiguation.
+              },
+            },
+            "text": { # Location anchor within a plain-text, Markdown, or LaTeX source document. # Output only. Location within a plain-text, Markdown, or LaTeX source document.
+              "firstColumn": 42, # Output only. Optional 1-indexed inclusive first column offset within `first_line`.
+              "firstLine": 42, # Output only. 1-indexed inclusive first line number.
+              "lastColumn": 42, # Output only. Optional 1-indexed inclusive last column offset within `last_line`.
+              "lastLine": 42, # Output only. 1-indexed inclusive last line number.
+              "quotedLinePreview": "A String", # Output only. Verbatim snippet of the anchored source line(s).
+            },
+          },
+          "severity": "A String", # Output only. Severity classification of the comment.
+          "suggestedEdit": "A String", # Output only. Optional suggested replacement text or edit for the anchored span.
+          "summary": "A String", # Output only. Short one-line summary of the review comment.
+        },
+      ],
+      "error": { # The `Status` type defines a logical error model that is suitable for 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). # Output only. Failure status details if review execution failed.
+        "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.
+      },
+      "reviewMarkdown": "A String", # Output only. Synthesized review report markdown.
+    },
+    "runConfig": { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review.
+      "geminiApiKey": "A String", # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller's Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147).
+      "geminiApiKeySet": True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run.
+      "model": "A String", # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT.
+      "thinkingLevel": "A String", # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
+      "topology": "A String", # Optional. Review execution topology profile to use.
+      "userPrompt": "A String", # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents.
+    },
+    "startTime": "A String", # Output only. Timestamp when the worker started evaluation.
+    "state": "A String", # Output only. Current review lifecycle state.
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for estimating what a review would cost. When the cost can't be estimated, for example because too few past reviews used the same model, depth, and thinking level, the costs are unset and `past_review_count` is 0.
+  "highCost": { # Represents an amount of money with its currency type. # The 95th percentile of what comparable past reviews would cost for this document.
+    "currencyCode": "A String", # The three-letter currency code defined in ISO 4217.
+    "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+    "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+  },
+  "lowCost": { # Represents an amount of money with its currency type. # The 20th percentile of what comparable past reviews would cost for this document.
+    "currencyCode": "A String", # The three-letter currency code defined in ISO 4217.
+    "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+    "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+  },
+  "medianCost": { # Represents an amount of money with its currency type. # The median of what comparable past reviews would cost for this document.
+    "currencyCode": "A String", # The three-letter currency code defined in ISO 4217.
+    "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+    "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+  },
+  "pastReviewCount": 42, # Number of past reviews the estimate is based on.
+}
+
+
get(name, x__xgafv=None) -
Retrieves document metadata and review history.
+  
Retrieves document metadata. The returned document includes its `latest_review_summary` when a review exists.
 
 Args:
-  name: string, Required. The resource name of the document to retrieve. Format: `documents/{document}` (required)
+  name: string, Required. The resource name of the document to retrieve. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -134,18 +309,18 @@ 

Method Details

Returns: An object of the form: - { # Document Resource Model representing an uploaded document for review. Documents are immutable post-creation; to review a new version, create a new Document. + { # A document uploaded for automated review. Documents are immutable post-creation; to review a new version, create a new Document. "createTime": "A String", # Output only. Timestamp when the document was initially created. "displayName": "A String", # Optional. User-provided display title or filename for the document. "driveSource": { # Configuration for importing a document directly from Google Drive. # Optional. Reference to a Google Drive file to import. "fileId": "A String", # Required. Immutable. The Google Drive file ID (e.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"). For Google Drive shortcuts, callers must pass the resolved target file's `file_id` and `resource_key`. "resourceKey": "A String", # Optional. Input only. Immutable. Resource key (`^[a-zA-Z0-9_-]{1,128}$`) required to access certain older link-shared Google Drive files returned by the Google Drive Picker (for shortcuts, pass the resolved target file's resource key). Never persisted in database records or returned in Document resources (see companion field `resource_key_set`, AIP-147). "resourceKeySet": True or False, # Output only. Indicates whether a resource key was provided for this Drive source. - "revisionId": "A String", # Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision). + "revisionId": "A String", # Optional. Input only. Immutable. Importing a specific revision is not currently supported; non-empty values return INVALID_ARGUMENT. }, - "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. + "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. Populated by `GetDocument` and `ListDocuments`; unset on the document returned by `CreateDocument`, which has no reviews yet. "createTime": "A String", # Output only. Timestamp when this review attempt was initiated. - "review": "A String", # Output only. Resource name of the Review. Format: `documents/{document}/reviews/{review}` + "review": "A String", # Output only. Resource name of the Review. "state": "A String", # Output only. Current review lifecycle state. }, "name": "A String", # Identifier. Resource name in format `documents/{document}`. @@ -154,12 +329,12 @@

Method Details

list(filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists documents for the authenticated caller with cursor pagination.
+  
Lists documents for the authenticated caller with cursor pagination. Each returned document includes its `latest_review_summary` when a review exists.
 
 Args:
-  filter: string, Optional. Supported AIP-160 filter expressions (e.g., `display_name = "..."`).
-  orderBy: string, Optional. Supported AIP-132 order_by field.
-  pageSize: integer, Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most 50 documents will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
+  filter: string, Optional. Custom filter expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
+  orderBy: string, Optional. Custom order_by expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
+  pageSize: integer, Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most 50 documents will be returned. The maximum value is 100; values above 100 will be coerced to 100.
   pageToken: string, Optional. A page token received from a previous `ListDocuments` call.
   x__xgafv: string, V1 error format.
     Allowed values
@@ -171,18 +346,18 @@ 

Method Details

{ # Response message for listing Document resources. "documents": [ # The list of Document resources. - { # Document Resource Model representing an uploaded document for review. Documents are immutable post-creation; to review a new version, create a new Document. + { # A document uploaded for automated review. Documents are immutable post-creation; to review a new version, create a new Document. "createTime": "A String", # Output only. Timestamp when the document was initially created. "displayName": "A String", # Optional. User-provided display title or filename for the document. "driveSource": { # Configuration for importing a document directly from Google Drive. # Optional. Reference to a Google Drive file to import. "fileId": "A String", # Required. Immutable. The Google Drive file ID (e.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"). For Google Drive shortcuts, callers must pass the resolved target file's `file_id` and `resource_key`. "resourceKey": "A String", # Optional. Input only. Immutable. Resource key (`^[a-zA-Z0-9_-]{1,128}$`) required to access certain older link-shared Google Drive files returned by the Google Drive Picker (for shortcuts, pass the resolved target file's resource key). Never persisted in database records or returned in Document resources (see companion field `resource_key_set`, AIP-147). "resourceKeySet": True or False, # Output only. Indicates whether a resource key was provided for this Drive source. - "revisionId": "A String", # Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision). + "revisionId": "A String", # Optional. Input only. Immutable. Importing a specific revision is not currently supported; non-empty values return INVALID_ARGUMENT. }, - "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. + "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. Populated by `GetDocument` and `ListDocuments`; unset on the document returned by `CreateDocument`, which has no reviews yet. "createTime": "A String", # Output only. Timestamp when this review attempt was initiated. - "review": "A String", # Output only. Resource name of the Review. Format: `documents/{document}/reviews/{review}` + "review": "A String", # Output only. Resource name of the Review. "state": "A String", # Output only. Current review lifecycle state. }, "name": "A String", # Identifier. Resource name in format `documents/{document}`. diff --git a/docs/dyn/deepreview_v1.documents.reviews.html b/docs/dyn/deepreview_v1.documents.reviews.html index cd26172ce0..c2a128b730 100644 --- a/docs/dyn/deepreview_v1.documents.reviews.html +++ b/docs/dyn/deepreview_v1.documents.reviews.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

create(parent, body=None, requestId=None, reviewId=None, x__xgafv=None)

-

Creates and initiates an asynchronous multi-agent review for a document.

+

Creates and initiates an asynchronous multi-agent review for a document. Returns a google.longrunning.Operation. When the operation completes, the `response` field contains a `Review` and the `metadata` field contains `CreateReviewMetadata`.

get(name, x__xgafv=None)

Retrieves a specific review execution result.

@@ -97,14 +97,14 @@

Method Details

create(parent, body=None, requestId=None, reviewId=None, x__xgafv=None) -
Creates and initiates an asynchronous multi-agent review for a document.
+  
Creates and initiates an asynchronous multi-agent review for a document. Returns a google.longrunning.Operation. When the operation completes, the `response` field contains a `Review` and the `metadata` field contains `CreateReviewMetadata`.
 
 Args:
-  parent: string, Required. The parent Document resource name where this review will be created. Format: `documents/{document}` (required)
+  parent: string, Required. The parent Document resource name where this review will be created. (required)
   body: object, The request body.
     The object takes the form of:
 
-{ # Review Sub-Resource Model representing an evaluation run of a document.
+{ # An evaluation run of a document.
   "createTime": "A String", # Output only. Timestamp when this review attempt was initiated.
   "endTime": "A String", # Output only. Timestamp when the review reached a terminal state.
   "name": "A String", # Identifier. Resource name in format `documents/{document}/reviews/{review}`.
@@ -184,7 +184,7 @@ 

Method Details

"searchVerdict": "A String", # Output only. Verdict from Google Search grounding verification (when run). }, "commentId": "A String", # Output only. Unique identifier for the comment within the review. - "location": { # Polymorphic location targeting either a PDF page region/quote or text lines. # Output only. Polymorphic location in the document where this comment is anchored. + "location": { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored. "pdf": { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document. "boundingBoxes": [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span. { # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left). @@ -195,7 +195,7 @@

Method Details

}, ], "pageNumber": 42, # Output only. 1-indexed page number within the PDF document. - "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (https://www.w3.org/TR/annotation-model/#text-quote-selector). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. + "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. "exact": "A String", # Output only. Verbatim substring extracted from the document character stream. "prefix": "A String", # Output only. Characters immediately preceding `exact` for disambiguation. "suffix": "A String", # Output only. Characters immediately following `exact` for disambiguation. @@ -228,7 +228,8 @@

Method Details

"runConfig": { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review. "geminiApiKey": "A String", # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller's Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147). "geminiApiKeySet": True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run. - "model": "A String", # Optional. The Gemini model name/version to use (e.g., "gemini-1.5-pro", "gemini-2.0-flash"). + "model": "A String", # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT. + "thinkingLevel": "A String", # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`. "topology": "A String", # Optional. Review execution topology profile to use. "userPrompt": "A String", # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents. }, @@ -272,7 +273,7 @@

Method Details

Retrieves a specific review execution result.
 
 Args:
-  name: string, Required. The resource name of the review to retrieve. Format: `documents/{document}/reviews/{review}` (required)
+  name: string, Required. The resource name of the review to retrieve. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -281,7 +282,7 @@ 

Method Details

Returns: An object of the form: - { # Review Sub-Resource Model representing an evaluation run of a document. + { # An evaluation run of a document. "createTime": "A String", # Output only. Timestamp when this review attempt was initiated. "endTime": "A String", # Output only. Timestamp when the review reached a terminal state. "name": "A String", # Identifier. Resource name in format `documents/{document}/reviews/{review}`. @@ -361,7 +362,7 @@

Method Details

"searchVerdict": "A String", # Output only. Verdict from Google Search grounding verification (when run). }, "commentId": "A String", # Output only. Unique identifier for the comment within the review. - "location": { # Polymorphic location targeting either a PDF page region/quote or text lines. # Output only. Polymorphic location in the document where this comment is anchored. + "location": { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored. "pdf": { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document. "boundingBoxes": [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span. { # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left). @@ -372,7 +373,7 @@

Method Details

}, ], "pageNumber": 42, # Output only. 1-indexed page number within the PDF document. - "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (https://www.w3.org/TR/annotation-model/#text-quote-selector). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. + "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. "exact": "A String", # Output only. Verbatim substring extracted from the document character stream. "prefix": "A String", # Output only. Characters immediately preceding `exact` for disambiguation. "suffix": "A String", # Output only. Characters immediately following `exact` for disambiguation. @@ -405,7 +406,8 @@

Method Details

"runConfig": { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review. "geminiApiKey": "A String", # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller's Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147). "geminiApiKeySet": True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run. - "model": "A String", # Optional. The Gemini model name/version to use (e.g., "gemini-1.5-pro", "gemini-2.0-flash"). + "model": "A String", # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT. + "thinkingLevel": "A String", # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`. "topology": "A String", # Optional. Review execution topology profile to use. "userPrompt": "A String", # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents. }, @@ -419,10 +421,10 @@

Method Details

Lists all review execution runs for a document.
 
 Args:
-  parent: string, Required. The parent Document resource name. Format: `documents/{document}` (required)
-  filter: string, Optional. Supported AIP-160 filter expressions.
-  orderBy: string, Optional. Supported AIP-132 order_by field.
-  pageSize: integer, Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
+  parent: string, Required. The parent Document resource name. (required)
+  filter: string, Optional. Custom filter expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
+  orderBy: string, Optional. Custom order_by expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
+  pageSize: integer, Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 100; values above 100 will be coerced to 100.
   pageToken: string, Optional. A page token received from a previous `ListReviews` call.
   x__xgafv: string, V1 error format.
     Allowed values
@@ -435,7 +437,7 @@ 

Method Details

{ # Response message for listing Review resources. "nextPageToken": "A String", # A token to retrieve the next page of results, or empty if no further pages exist. "reviews": [ # The list of Review resources. - { # Review Sub-Resource Model representing an evaluation run of a document. + { # An evaluation run of a document. "createTime": "A String", # Output only. Timestamp when this review attempt was initiated. "endTime": "A String", # Output only. Timestamp when the review reached a terminal state. "name": "A String", # Identifier. Resource name in format `documents/{document}/reviews/{review}`. @@ -515,7 +517,7 @@

Method Details

"searchVerdict": "A String", # Output only. Verdict from Google Search grounding verification (when run). }, "commentId": "A String", # Output only. Unique identifier for the comment within the review. - "location": { # Polymorphic location targeting either a PDF page region/quote or text lines. # Output only. Polymorphic location in the document where this comment is anchored. + "location": { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored. "pdf": { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document. "boundingBoxes": [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span. { # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left). @@ -526,7 +528,7 @@

Method Details

}, ], "pageNumber": 42, # Output only. 1-indexed page number within the PDF document. - "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (https://www.w3.org/TR/annotation-model/#text-quote-selector). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. + "quoteSelector": { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting. "exact": "A String", # Output only. Verbatim substring extracted from the document character stream. "prefix": "A String", # Output only. Characters immediately preceding `exact` for disambiguation. "suffix": "A String", # Output only. Characters immediately following `exact` for disambiguation. @@ -559,7 +561,8 @@

Method Details

"runConfig": { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review. "geminiApiKey": "A String", # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller's Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147). "geminiApiKeySet": True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run. - "model": "A String", # Optional. The Gemini model name/version to use (e.g., "gemini-1.5-pro", "gemini-2.0-flash"). + "model": "A String", # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT. + "thinkingLevel": "A String", # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`. "topology": "A String", # Optional. Review execution topology profile to use. "userPrompt": "A String", # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents. }, diff --git a/docs/dyn/deepreview_v1.media.html b/docs/dyn/deepreview_v1.media.html index 258aef17a5..9a1b5ab5f2 100644 --- a/docs/dyn/deepreview_v1.media.html +++ b/docs/dyn/deepreview_v1.media.html @@ -79,13 +79,13 @@

Instance Methods

Close httplib2 connections.

download(name, x__xgafv=None)

-

Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).

+

Downloads the original document content (PDF binary) using media streaming. Pass `alt=media` as a query parameter to stream the binary PDF bytes. Without `alt=media`, a JSON response is returned.

download_media(name, x__xgafv=None)

-

Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).

+

Downloads the original document content (PDF binary) using media streaming. Pass `alt=media` as a query parameter to stream the binary PDF bytes. Without `alt=media`, a JSON response is returned.

upload(body=None, documentId=None, media_body=None, media_mime_type=None, requestId=None, x__xgafv=None)

-

Creates a new Document resource and ingests the manuscript via Scotty or Google Drive.

+

Creates a new Document resource and ingests the manuscript using media upload or Google Drive.

Method Details

close() @@ -94,10 +94,10 @@

Method Details

download(name, x__xgafv=None) -
Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).
+  
Downloads the original document content (PDF binary) using media streaming. Pass `alt=media` as a query parameter to stream the binary PDF bytes. Without `alt=media`, a JSON response is returned.
 
 Args:
-  name: string, Required. The resource name of the document to download. Format: `documents/{document}` (required)
+  name: string, Required. The resource name of the document to download. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -106,16 +106,16 @@ 

Method Details

Returns: An object of the form: - { # Response message for downloading a Document's raw content via Scotty media. + { # Response message for downloading a Document's raw content using media download. }
download_media(name, x__xgafv=None) -
Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).
+  
Downloads the original document content (PDF binary) using media streaming. Pass `alt=media` as a query parameter to stream the binary PDF bytes. Without `alt=media`, a JSON response is returned.
 
 Args:
-  name: string, Required. The resource name of the document to download. Format: `documents/{document}` (required)
+  name: string, Required. The resource name of the document to download. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -129,24 +129,24 @@ 

Method Details

upload(body=None, documentId=None, media_body=None, media_mime_type=None, requestId=None, x__xgafv=None) -
Creates a new Document resource and ingests the manuscript via Scotty or Google Drive.
+  
Creates a new Document resource and ingests the manuscript using media upload or Google Drive.
 
 Args:
   body: object, The request body.
     The object takes the form of:
 
-{ # Document Resource Model representing an uploaded document for review. Documents are immutable post-creation; to review a new version, create a new Document.
+{ # A document uploaded for automated review. Documents are immutable post-creation; to review a new version, create a new Document.
   "createTime": "A String", # Output only. Timestamp when the document was initially created.
   "displayName": "A String", # Optional. User-provided display title or filename for the document.
   "driveSource": { # Configuration for importing a document directly from Google Drive. # Optional. Reference to a Google Drive file to import.
     "fileId": "A String", # Required. Immutable. The Google Drive file ID (e.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"). For Google Drive shortcuts, callers must pass the resolved target file's `file_id` and `resource_key`.
     "resourceKey": "A String", # Optional. Input only. Immutable. Resource key (`^[a-zA-Z0-9_-]{1,128}$`) required to access certain older link-shared Google Drive files returned by the Google Drive Picker (for shortcuts, pass the resolved target file's resource key). Never persisted in database records or returned in Document resources (see companion field `resource_key_set`, AIP-147).
     "resourceKeySet": True or False, # Output only. Indicates whether a resource key was provided for this Drive source.
-    "revisionId": "A String", # Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision).
+    "revisionId": "A String", # Optional. Input only. Immutable. Importing a specific revision is not currently supported; non-empty values return INVALID_ARGUMENT.
   },
-  "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any.
+  "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. Populated by `GetDocument` and `ListDocuments`; unset on the document returned by `CreateDocument`, which has no reviews yet.
     "createTime": "A String", # Output only. Timestamp when this review attempt was initiated.
-    "review": "A String", # Output only. Resource name of the Review. Format: `documents/{document}/reviews/{review}`
+    "review": "A String", # Output only. Resource name of the Review.
     "state": "A String", # Output only. Current review lifecycle state.
   },
   "name": "A String", # Identifier. Resource name in format `documents/{document}`.
@@ -164,18 +164,18 @@ 

Method Details

Returns: An object of the form: - { # Document Resource Model representing an uploaded document for review. Documents are immutable post-creation; to review a new version, create a new Document. + { # A document uploaded for automated review. Documents are immutable post-creation; to review a new version, create a new Document. "createTime": "A String", # Output only. Timestamp when the document was initially created. "displayName": "A String", # Optional. User-provided display title or filename for the document. "driveSource": { # Configuration for importing a document directly from Google Drive. # Optional. Reference to a Google Drive file to import. "fileId": "A String", # Required. Immutable. The Google Drive file ID (e.g. "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"). For Google Drive shortcuts, callers must pass the resolved target file's `file_id` and `resource_key`. "resourceKey": "A String", # Optional. Input only. Immutable. Resource key (`^[a-zA-Z0-9_-]{1,128}$`) required to access certain older link-shared Google Drive files returned by the Google Drive Picker (for shortcuts, pass the resolved target file's resource key). Never persisted in database records or returned in Document resources (see companion field `resource_key_set`, AIP-147). "resourceKeySet": True or False, # Output only. Indicates whether a resource key was provided for this Drive source. - "revisionId": "A String", # Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision). + "revisionId": "A String", # Optional. Input only. Immutable. Importing a specific revision is not currently supported; non-empty values return INVALID_ARGUMENT. }, - "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. + "latestReviewSummary": { # Lightweight summary of a Review execution run for display in Document views. # Output only. Summary of the most recent review run for this document, if any. Populated by `GetDocument` and `ListDocuments`; unset on the document returned by `CreateDocument`, which has no reviews yet. "createTime": "A String", # Output only. Timestamp when this review attempt was initiated. - "review": "A String", # Output only. Resource name of the Review. Format: `documents/{document}/reviews/{review}` + "review": "A String", # Output only. Resource name of the Review. "state": "A String", # Output only. Current review lifecycle state. }, "name": "A String", # Identifier. Resource name in format `documents/{document}`. diff --git a/docs/dyn/deepreview_v1.operations.html b/docs/dyn/deepreview_v1.operations.html index 9a5455ae1e..f55cd35796 100644 --- a/docs/dyn/deepreview_v1.operations.html +++ b/docs/dyn/deepreview_v1.operations.html @@ -79,128 +79,13 @@

Instance Methods

Returns the documents Resource.

-

- cancel(name, body=None, x__xgafv=None)

-

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

close()

Close httplib2 connections.

-

- delete(name, x__xgafv=None)

-

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

-

- list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)

-

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

-

- list_next(previous_request, previous_response)

-

Retrieves the next page of results.

Method Details

-
- cancel(name, body=None, x__xgafv=None) -
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
-
-Args:
-  name: string, The name of the operation resource to be cancelled. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # The request message for Operations.CancelOperation.
-}
-
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
-}
-
-
close()
Close httplib2 connections.
-
- delete(name, x__xgafv=None) -
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
-
-Args:
-  name: string, The name of the operation resource to be deleted. (required)
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
-}
-
- -
- list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None) -
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
-
-Args:
-  name: string, The name of the operation's parent resource. (required)
-  filter: string, The standard list filter.
-  pageSize: integer, The standard list page size.
-  pageToken: string, The standard list page token.
-  returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # The response message for Operations.ListOperations.
-  "nextPageToken": "A String", # The standard List next-page token.
-  "operations": [ # A list of operations that matches the specified filter in the request.
-    { # This resource represents a long-running operation that is the result of a network API call.
-      "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
-      "error": { # The `Status` type defines a logical error model that is suitable for 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). # The error result of the operation in case of failure or cancellation.
-        "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.
-      },
-      "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
-        "a_key": "", # Properties of the object. Contains field @type with type URL.
-      },
-      "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
-      "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
-        "a_key": "", # Properties of the object. Contains field @type with type URL.
-      },
-    },
-  ],
-  "unreachable": [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
-    "A String",
-  ],
-}
-
- -
- list_next(previous_request, previous_response) -
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.
-
-
- \ No newline at end of file diff --git a/docs/dyn/deepreview_v1.v1.html b/docs/dyn/deepreview_v1.v1.html index 5440f49b96..0b30aced0c 100644 --- a/docs/dyn/deepreview_v1.v1.html +++ b/docs/dyn/deepreview_v1.v1.html @@ -91,7 +91,7 @@

Method Details

Retrieves the review quota limits and sliding-window usage for the authenticated caller.
 
 Args:
-  name: string, Required. The resource name of the singleton user quota to retrieve. Format: `userQuota` (required)
+  name: string, Required. The resource name of the singleton user quota to retrieve. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
diff --git a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html
index 0df3fd4be7..10379dd8a3 100644
--- a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html
+++ b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.html
@@ -340,8 +340,8 @@ 

Method Details

Args: parent: string, Required. Parent value for ListAccountConnectorsRequest (required) - filter: string, Optional. Filtering results - orderBy: string, Optional. Hint for how to order the results + filter: string, Optional. Filtering results. + orderBy: string, Optional. Hint for how to order the results. pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. pageToken: string, Optional. A token identifying a page of results the server should return. x__xgafv: string, V1 error format. diff --git a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.users.html b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.users.html index c31694bd35..22aeef3f47 100644 --- a/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.users.html +++ b/docs/dyn/developerconnect_v1.projects.locations.accountConnectors.users.html @@ -268,8 +268,8 @@

Method Details

Args: parent: string, Required. Parent value for ListUsersRequest (required) - filter: string, Optional. Filtering results - orderBy: string, Optional. Hint for how to order the results + filter: string, Optional. Filtering results. + orderBy: string, Optional. Hint for how to order the results. pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. pageToken: string, Optional. A token identifying a page of results the server should return. x__xgafv: string, V1 error format. diff --git a/docs/dyn/developerconnect_v1.projects.locations.connections.gitRepositoryLinks.html b/docs/dyn/developerconnect_v1.projects.locations.connections.gitRepositoryLinks.html index 9bbb8049f0..6f49d8993a 100644 --- a/docs/dyn/developerconnect_v1.projects.locations.connections.gitRepositoryLinks.html +++ b/docs/dyn/developerconnect_v1.projects.locations.connections.gitRepositoryLinks.html @@ -74,6 +74,12 @@

Developer Connect API . projects . locations . connections . gitRepositoryLinks

Instance Methods

+

+ addPullRequestComment(name, body=None, x__xgafv=None)

+

Add a comment to a Pull Request.

+

+ addPullRequestReviewComment(name, body=None, x__xgafv=None)

+

Add a review comment (inline on diff) to a Pull Request.

close()

Close httplib2 connections.

@@ -83,12 +89,36 @@

Instance Methods

delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)

Deletes a single GitRepositoryLink.

+

+ diffCommit(name, baseSha=None, headSha=None, pathFilters=None, x__xgafv=None)

+

Diff commits for a GitRepositoryLink.

+

+ fetchCommit(name, commitSha=None, pathFilters=None, view=None, x__xgafv=None)

+

Fetch Commit details from a Git repository link.

+

+ fetchCommitList(name, pageSize=None, pageToken=None, ref=None, view=None, x__xgafv=None)

+

Fetch a list of Commits from a Git repository link.

+

+ fetchCommitList_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ fetchFileBlame(name, firstLine=None, lastLine=None, path=None, ref=None, x__xgafv=None)

+

Fetches blame information for a file or line range in a file.

fetchGitRefs(gitRepositoryLink, pageSize=None, pageToken=None, refType=None, x__xgafv=None)

Fetch the list of branches or tags for a given repository.

fetchGitRefs_next(previous_request, previous_response)

Retrieves the next page of results.

+

+ fetchPullRequest(name, pullRequestId=None, x__xgafv=None)

+

Fetch Pull Request details from a Git repository link.

+

+ fetchPullRequestList(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

+

Fetches a list of Pull Requests from the remote repository.

+

+ fetchPullRequestList_next(previous_request, previous_response)

+

Retrieves the next page of results.

fetchReadToken(gitRepositoryLink, body=None, x__xgafv=None)

Fetches read token of a given gitRepositoryLink.

@@ -104,6 +134,12 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

+

+ modifyPullRequest(name, body=None, x__xgafv=None)

+

Modifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink.

+

+ openPullRequest(name, body=None, x__xgafv=None)

+

Opens a Pull Request in the remote SCM repository associated with a GitRepositoryLink.

processBitbucketCloudWebhook(name, body=None, x__xgafv=None)

ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.

@@ -117,6 +153,91 @@

Instance Methods

processGitLabWebhook(name, body=None, x__xgafv=None)

ProcessGitLabWebhook is called by the GitLab.com for notifying events.

Method Details

+
+ addPullRequestComment(name, body=None, x__xgafv=None) +
Add a comment to a Pull Request.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for AddGitRepositoryLinkPullRequestComment.
+  "comment": { # Message representing a SCM Pull Request Comment. # Required. The comment to add.
+    "author": "A String", # Output only. The username of the author.
+    "body": "A String", # Required. The body of the comment.
+    "createTime": "A String", # Output only. When the comment was created.
+    "id": "A String", # Output only. The ID of the comment.
+    "updateTime": "A String", # Output only. When the comment was updated.
+  },
+  "pullRequestId": "A String", # Required. The ID of the Pull Request.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message representing a SCM Pull Request Comment.
+  "author": "A String", # Output only. The username of the author.
+  "body": "A String", # Required. The body of the comment.
+  "createTime": "A String", # Output only. When the comment was created.
+  "id": "A String", # Output only. The ID of the comment.
+  "updateTime": "A String", # Output only. When the comment was updated.
+}
+
+ +
+ addPullRequestReviewComment(name, body=None, x__xgafv=None) +
Add a review comment (inline on diff) to a Pull Request.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for AddGitRepositoryLinkPullRequestReviewComment.
+  "comment": { # Message representing a SCM Pull Request Review Comment (inline on diff). # Required. The review comment to add.
+    "author": "A String", # Output only. The username of the author.
+    "body": "A String", # Required. The body of the comment.
+    "commitId": "A String", # Output only. The commit SHA the comment was actually applied to.
+    "createTime": "A String", # Output only. When the comment was created.
+    "firstLine": 42, # Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the `last_line`.
+    "id": "A String", # Output only. The ID of the comment.
+    "lastLine": 42, # Required. The last line of the comment range (inclusive). If `first_line` is not specified, the comment applies only to this line.
+    "path": "A String", # Required. The file path to comment on.
+    "side": "A String", # Optional. The side of the diff to comment on. Defaults to HEAD.
+    "updateTime": "A String", # Output only. When the comment was updated.
+  },
+  "commitId": "A String", # Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.
+  "pullRequestId": "A String", # Required. The ID of the Pull Request.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message representing a SCM Pull Request Review Comment (inline on diff).
+  "author": "A String", # Output only. The username of the author.
+  "body": "A String", # Required. The body of the comment.
+  "commitId": "A String", # Output only. The commit SHA the comment was actually applied to.
+  "createTime": "A String", # Output only. When the comment was created.
+  "firstLine": 42, # Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the `last_line`.
+  "id": "A String", # Output only. The ID of the comment.
+  "lastLine": 42, # Required. The last line of the comment range (inclusive). If `first_line` is not specified, the comment applies only to this line.
+  "path": "A String", # Required. The file path to comment on.
+  "side": "A String", # Optional. The side of the diff to comment on. Defaults to HEAD.
+  "updateTime": "A String", # Output only. When the comment was updated.
+}
+
+
close()
Close httplib2 connections.
@@ -136,17 +257,17 @@

Method Details

"a_key": "A String", }, "cloneUri": "A String", # Required. Git Clone URI. - "createTime": "A String", # Output only. [Output only] Create timestamp - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "createTime": "A String", # Output only. Create timestamp. + "deleteTime": "A String", # Output only. Delete timestamp. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection. + "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git proxy. This field is only populated if the Git proxy is enabled for the connection. "labels": { # Optional. Labels as key value pairs "a_key": "A String", }, "name": "A String", # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. "reconciling": True or False, # Output only. Set to true when the connection is being set up or updated in the background. "uid": "A String", # Output only. A system-assigned unique identifier for the GitRepositoryLink. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. "webhookId": "A String", # Output only. External ID of the webhook created for the repository. } @@ -220,6 +341,161 @@

Method Details

}
+
+ diffCommit(name, baseSha=None, headSha=None, pathFilters=None, x__xgafv=None) +
Diff commits for a GitRepositoryLink.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink. (required)
+  baseSha: string, Required. The base commit SHA or ref.
+  headSha: string, Required. The head commit SHA or ref.
+  pathFilters: string, Optional. Path patterns or exact paths to filter returned files. When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `["**"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty). (repeated)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for DiffGitRepositoryLinkCommit.
+  "files": [ # The file diff extracted from the unified diff.
+    { # Message for a file diff.
+      "patch": "A String", # Standard unified diff patch hunk for the file. Only populated when `path_filters` is specified in the request; otherwise empty.
+      "path": "A String", # Relative path to the file in the repository.
+      "status": "A String", # Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".
+    },
+  ],
+}
+
+ +
+ fetchCommit(name, commitSha=None, pathFilters=None, view=None, x__xgafv=None) +
Fetch Commit details from a Git repository link.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  commitSha: string, Required. The commit SHA, or symbolic revision (for example, branch name, tag, or Git reference).
+  pathFilters: string, Optional. Path patterns or exact paths to filter returned files (only applicable in `FULL` view). When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `["**"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty). (repeated)
+  view: string, Optional. The level of commit details to return in the response. Defaults to `FULL` if unspecified. In `FULL` view, `files` metadata (paths and statuses) are returned; `path_filters` must also be specified to populate line patch hunks.
+    Allowed values
+      COMMIT_VIEW_UNSPECIFIED - Unspecified, defaults to BASIC.
+      BASIC - Basic view, returns commit metadata but no file diffs.
+      FULL - Full view, returns commit metadata and file diffs.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for FetchGitRepositoryLinkCommit.
+  "commit": { # SCMCommit represents commit metadata. # The commit metadata.
+    "author": "A String", # The author's display name.
+    "authorEmail": "A String", # The author's email address.
+    "commitTime": "A String", # Timestamp when the commit was authored.
+    "message": "A String", # Commit message text.
+    "sha": "A String", # Full 40-character SCM commit SHA.
+    "url": "A String", # The SCM provider's HTML URL link for this commit.
+  },
+  "files": [ # List of file changes and patch diffs. Omitted when view is `BASIC`. Patch diffs (`FileDiff.patch`) are only populated when `path_filters` is specified in the request.
+    { # Message for a file diff.
+      "patch": "A String", # Standard unified diff patch hunk for the file. Only populated when `path_filters` is specified in the request; otherwise empty.
+      "path": "A String", # Relative path to the file in the repository.
+      "status": "A String", # Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".
+    },
+  ],
+}
+
+ +
+ fetchCommitList(name, pageSize=None, pageToken=None, ref=None, view=None, x__xgafv=None) +
Fetch a list of Commits from a Git repository link.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  pageSize: integer, Optional. Number of results to return in the list. Default is 50. Max is 100.
+  pageToken: string, Optional. A page token, received from a previous `FetchGitRepositoryLinkCommitList` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchGitRepositoryLinkCommitList` must match the call that provided the page token.
+  ref: string, Optional. The commit SHA, or symbolic revision (for example, branch name, tag, or Git reference) from which to start listing commits.
+  view: string, Optional. The level of commit details to return in the response. Only `BASIC` is supported; `FULL` returns `INVALID_ARGUMENT`. Defaults to `BASIC` if unspecified. Use `FetchGitRepositoryLinkCommit` to get file diffs for a single commit.
+    Allowed values
+      COMMIT_VIEW_UNSPECIFIED - Unspecified, defaults to BASIC.
+      BASIC - Basic view, returns commit metadata but no file diffs.
+      FULL - Full view, returns commit metadata and file diffs.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for FetchGitRepositoryLinkCommitList.
+  "commits": [ # The list of commit metadata.
+    { # SCMCommit represents commit metadata.
+      "author": "A String", # The author's display name.
+      "authorEmail": "A String", # The author's email address.
+      "commitTime": "A String", # Timestamp when the commit was authored.
+      "message": "A String", # Commit message text.
+      "sha": "A String", # Full 40-character SCM commit SHA.
+      "url": "A String", # The SCM provider's HTML URL link for this commit.
+    },
+  ],
+  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+}
+
+ +
+ fetchCommitList_next(previous_request, previous_response) +
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.
+
+
+ +
+ fetchFileBlame(name, firstLine=None, lastLine=None, path=None, ref=None, x__xgafv=None) +
Fetches blame information for a file or line range in a file.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  firstLine: integer, Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.
+  lastLine: integer, Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.
+  path: string, Required. The file path within the repository.
+  ref: string, Required. The SCM commit SHA, or symbolic revision (for example, branch name, tag) from which to fetch the blame.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for FetchGitRepositoryLinkFileBlame.
+  "ranges": [ # The list of blame ranges for the file.
+    { # BlameRange represents blame information for a range of lines.
+      "commit": { # SCMCommit represents commit metadata. # The commit metadata for this line range.
+        "author": "A String", # The author's display name.
+        "authorEmail": "A String", # The author's email address.
+        "commitTime": "A String", # Timestamp when the commit was authored.
+        "message": "A String", # Commit message text.
+        "sha": "A String", # Full 40-character SCM commit SHA.
+        "url": "A String", # The SCM provider's HTML URL link for this commit.
+      },
+      "firstLine": 42, # The 1-indexed starting line number of the range (inclusive).
+      "lastLine": 42, # The 1-indexed ending line number of the range (inclusive).
+    },
+  ],
+}
+
+
fetchGitRefs(gitRepositoryLink, pageSize=None, pageToken=None, refType=None, x__xgafv=None)
Fetch the list of branches or tags for a given repository.
@@ -263,6 +539,93 @@ 

Method Details

+
+ fetchPullRequest(name, pullRequestId=None, x__xgafv=None) +
Fetch Pull Request details from a Git repository link.
+
+Args:
+  name: string, Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  pullRequestId: string, Required. The ID of the Pull Request.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message representing a SCM Pull Request.
+  "author": "A String", # Output only. The username of the author.
+  "baseRef": "A String", # Required. The target commit SHA of the base branch.
+  "body": "A String", # Optional. The body description of the PR.
+  "closeTime": "A String", # Output only. When the PR was closed.
+  "createTime": "A String", # Output only. When the PR was created.
+  "declineTime": "A String", # Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.
+  "headRef": "A String", # Required. The source commit SHA of the head branch.
+  "htmlUrl": "A String", # Output only. The HTML URL of the pull request on the SCM provider.
+  "id": "A String", # Required. The ID of the PR.
+  "mergeTime": "A String", # Output only. When the PR was merged.
+  "mergeability": "A String", # Output only. The mergeability state of the pull request.
+  "state": "A String", # Output only. The current state of the PR.
+  "title": "A String", # Required. The title of the PR.
+  "updateTime": "A String", # Output only. When the PR was updated.
+}
+
+ +
+ fetchPullRequestList(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Fetches a list of Pull Requests from the remote repository.
+
+Args:
+  name: string, Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  filter: string, Optional. A filter expression that filters the pull requests returned in the response. Only a single equality comparison on `state` is supported, for example `state = "OPEN"`. Supported values are `OPEN`, `CLOSED`, and `MERGED`. `DECLINED` is only supported for SCM providers that support declining pull requests, and returns `INVALID_ARGUMENT` for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return `INVALID_ARGUMENT`. Defaults to `state = "OPEN"` if unspecified.
+  pageSize: integer, Optional. Number of results to return in the list. Default is 20. Max is 100. A page may contain fewer than `page_size` results even when more results are available; use `next_page_token` to check for more pages.
+  pageToken: string, Optional. A page token, received from a previous `FetchGitRepositoryLinkPullRequestList` call. Provide this to retrieve the subsequent page.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for FetchGitRepositoryLinkPullRequestList.
+  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+  "pullRequests": [ # The list of pull requests.
+    { # Message representing a SCM Pull Request.
+      "author": "A String", # Output only. The username of the author.
+      "baseRef": "A String", # Required. The target commit SHA of the base branch.
+      "body": "A String", # Optional. The body description of the PR.
+      "closeTime": "A String", # Output only. When the PR was closed.
+      "createTime": "A String", # Output only. When the PR was created.
+      "declineTime": "A String", # Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.
+      "headRef": "A String", # Required. The source commit SHA of the head branch.
+      "htmlUrl": "A String", # Output only. The HTML URL of the pull request on the SCM provider.
+      "id": "A String", # Required. The ID of the PR.
+      "mergeTime": "A String", # Output only. When the PR was merged.
+      "mergeability": "A String", # Output only. The mergeability state of the pull request.
+      "state": "A String", # Output only. The current state of the PR.
+      "title": "A String", # Required. The title of the PR.
+      "updateTime": "A String", # Output only. When the PR was updated.
+    },
+  ],
+}
+
+ +
+ fetchPullRequestList_next(previous_request, previous_response) +
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.
+
+
+
fetchReadToken(gitRepositoryLink, body=None, x__xgafv=None)
Fetches read token of a given gitRepositoryLink.
@@ -336,17 +699,17 @@ 

Method Details

"a_key": "A String", }, "cloneUri": "A String", # Required. Git Clone URI. - "createTime": "A String", # Output only. [Output only] Create timestamp - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "createTime": "A String", # Output only. Create timestamp. + "deleteTime": "A String", # Output only. Delete timestamp. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection. + "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git proxy. This field is only populated if the Git proxy is enabled for the connection. "labels": { # Optional. Labels as key value pairs "a_key": "A String", }, "name": "A String", # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. "reconciling": True or False, # Output only. Set to true when the connection is being set up or updated in the background. "uid": "A String", # Output only. A system-assigned unique identifier for the GitRepositoryLink. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. "webhookId": "A String", # Output only. External ID of the webhook created for the repository. }
@@ -356,9 +719,9 @@

Method Details

Lists GitRepositoryLinks in a given project, location, and connection.
 
 Args:
-  parent: string, Required. Parent value for ListGitRepositoryLinksRequest (required)
-  filter: string, Optional. Filtering results
-  orderBy: string, Optional. Hint for how to order the results
+  parent: string, Required. Parent value for ListGitRepositoryLinksRequest. (required)
+  filter: string, Optional. Filtering results.
+  orderBy: string, Optional. Hint for how to order the results.
   pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
   pageToken: string, Optional. A token identifying a page of results the server should return.
   x__xgafv: string, V1 error format.
@@ -370,23 +733,23 @@ 

Method Details

An object of the form: { # Message for response to listing GitRepositoryLinks - "gitRepositoryLinks": [ # The list of GitRepositoryLinks + "gitRepositoryLinks": [ # The list of GitRepositoryLinks. { # Message describing the GitRepositoryLink object "annotations": { # Optional. Allows clients to store small amounts of arbitrary data. "a_key": "A String", }, "cloneUri": "A String", # Required. Git Clone URI. - "createTime": "A String", # Output only. [Output only] Create timestamp - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "createTime": "A String", # Output only. Create timestamp. + "deleteTime": "A String", # Output only. Delete timestamp. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection. + "gitProxyUri": "A String", # Output only. URI to access the linked repository through the Git proxy. This field is only populated if the Git proxy is enabled for the connection. "labels": { # Optional. Labels as key value pairs "a_key": "A String", }, "name": "A String", # Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. "reconciling": True or False, # Output only. Set to true when the connection is being set up or updated in the background. "uid": "A String", # Output only. A system-assigned unique identifier for the GitRepositoryLink. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. "webhookId": "A String", # Output only. External ID of the webhook created for the repository. }, ], @@ -411,6 +774,103 @@

Method Details

+
+ modifyPullRequest(name, body=None, x__xgafv=None) +
Modifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
+
+Args:
+  name: string, Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Message for modifying SCM Pull Request.
+  "baseRef": "A String", # Optional. The target branch to merge into.
+  "body": "A String", # Optional. The body description of the Pull Request.
+  "pullRequestId": "A String", # Required. The SCM-specific pull request identifier (for example, "45").
+  "state": "A String", # Optional. The state of the Pull Request.
+  "title": "A String", # Optional. The title of the Pull Request.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message representing a SCM Pull Request.
+  "author": "A String", # Output only. The username of the author.
+  "baseRef": "A String", # Required. The target commit SHA of the base branch.
+  "body": "A String", # Optional. The body description of the PR.
+  "closeTime": "A String", # Output only. When the PR was closed.
+  "createTime": "A String", # Output only. When the PR was created.
+  "declineTime": "A String", # Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.
+  "headRef": "A String", # Required. The source commit SHA of the head branch.
+  "htmlUrl": "A String", # Output only. The HTML URL of the pull request on the SCM provider.
+  "id": "A String", # Required. The ID of the PR.
+  "mergeTime": "A String", # Output only. When the PR was merged.
+  "mergeability": "A String", # Output only. The mergeability state of the pull request.
+  "state": "A String", # Output only. The current state of the PR.
+  "title": "A String", # Required. The title of the PR.
+  "updateTime": "A String", # Output only. When the PR was updated.
+}
+
+ +
+ openPullRequest(name, body=None, x__xgafv=None) +
Opens a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
+
+Args:
+  name: string, Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Message for opening SCM Pull Request.
+  "pullRequest": { # Message representing a SCM Pull Request. # Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
+    "author": "A String", # Output only. The username of the author.
+    "baseRef": "A String", # Required. The target commit SHA of the base branch.
+    "body": "A String", # Optional. The body description of the PR.
+    "closeTime": "A String", # Output only. When the PR was closed.
+    "createTime": "A String", # Output only. When the PR was created.
+    "declineTime": "A String", # Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.
+    "headRef": "A String", # Required. The source commit SHA of the head branch.
+    "htmlUrl": "A String", # Output only. The HTML URL of the pull request on the SCM provider.
+    "id": "A String", # Required. The ID of the PR.
+    "mergeTime": "A String", # Output only. When the PR was merged.
+    "mergeability": "A String", # Output only. The mergeability state of the pull request.
+    "state": "A String", # Output only. The current state of the PR.
+    "title": "A String", # Required. The title of the PR.
+    "updateTime": "A String", # Output only. When the PR was updated.
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message representing a SCM Pull Request.
+  "author": "A String", # Output only. The username of the author.
+  "baseRef": "A String", # Required. The target commit SHA of the base branch.
+  "body": "A String", # Optional. The body description of the PR.
+  "closeTime": "A String", # Output only. When the PR was closed.
+  "createTime": "A String", # Output only. When the PR was created.
+  "declineTime": "A String", # Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.
+  "headRef": "A String", # Required. The source commit SHA of the head branch.
+  "htmlUrl": "A String", # Output only. The HTML URL of the pull request on the SCM provider.
+  "id": "A String", # Required. The ID of the PR.
+  "mergeTime": "A String", # Output only. When the PR was merged.
+  "mergeability": "A String", # Output only. The mergeability state of the pull request.
+  "state": "A String", # Output only. The current state of the PR.
+  "title": "A String", # Required. The title of the PR.
+  "updateTime": "A String", # Output only. When the PR was updated.
+}
+
+
processBitbucketCloudWebhook(name, body=None, x__xgafv=None)
ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.
diff --git a/docs/dyn/developerconnect_v1.projects.locations.connections.html b/docs/dyn/developerconnect_v1.projects.locations.connections.html
index 64c04a79a0..e7e3de5adf 100644
--- a/docs/dyn/developerconnect_v1.projects.locations.connections.html
+++ b/docs/dyn/developerconnect_v1.projects.locations.connections.html
@@ -160,15 +160,15 @@ 

Method Details

"sslCaCertificate": "A String", # Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center. "webhookSecretSecretVersion": "A String", # Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks. }, - "createTime": "A String", # Output only. [Output only] Create timestamp + "createTime": "A String", # Output only. Create timestamp. "cryptoKeyConfig": { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. "keyReference": "A String", # Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. }, - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "deleteTime": "A String", # Output only. Delete timestamp. "disabled": True or False, # Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). - "enabled": True or False, # Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection. + "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the Git proxy feature. Enabling the Git proxy allows clients to perform Git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). + "enabled": True or False, # Optional. Setting this to true allows the Git proxy to be used for performing Git operations on the repositories linked in the connection. "httpProxyBaseUri": "A String", # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect. }, "githubConfig": { # Configuration for connections to github.com. # Configuration for connections to github.com. @@ -251,10 +251,10 @@

Method Details

"instance": "A String", # Required. Immutable. Secure Source Manager instance resource, formatted as `projects/*/locations/*/instances/*` }, "uid": "A String", # Output only. A system-assigned unique identifier for the Connection. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. } - connectionId: string, Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC + connectionId: string, Required. The ID to use for the connection, which becomes the final component of the connection's resource name. requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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). validateOnly: boolean, Optional. If set, validate the request, but do not actually post it. x__xgafv: string, V1 error format. @@ -436,15 +436,15 @@

Method Details

"sslCaCertificate": "A String", # Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center. "webhookSecretSecretVersion": "A String", # Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks. }, - "createTime": "A String", # Output only. [Output only] Create timestamp + "createTime": "A String", # Output only. Create timestamp. "cryptoKeyConfig": { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. "keyReference": "A String", # Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. }, - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "deleteTime": "A String", # Output only. Delete timestamp. "disabled": True or False, # Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). - "enabled": True or False, # Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection. + "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the Git proxy feature. Enabling the Git proxy allows clients to perform Git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). + "enabled": True or False, # Optional. Setting this to true allows the Git proxy to be used for performing Git operations on the repositories linked in the connection. "httpProxyBaseUri": "A String", # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect. }, "githubConfig": { # Configuration for connections to github.com. # Configuration for connections to github.com. @@ -527,7 +527,7 @@

Method Details

"instance": "A String", # Required. Immutable. Secure Source Manager instance resource, formatted as `projects/*/locations/*/instances/*` }, "uid": "A String", # Output only. A system-assigned unique identifier for the Connection. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. }
@@ -537,8 +537,8 @@

Method Details

Args: parent: string, Required. Parent value for ListConnectionsRequest (required) - filter: string, Optional. Filtering results - orderBy: string, Optional. Hint for how to order the results + filter: string, Optional. Filtering results. + orderBy: string, Optional. Hint for how to order the results. pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. pageToken: string, Optional. A token identifying a page of results the server should return. x__xgafv: string, V1 error format. @@ -550,7 +550,7 @@

Method Details

An object of the form: { # Message for response to listing Connections - "connections": [ # The list of Connection + "connections": [ # The list of Connections. { # Message describing Connection object "annotations": { # Optional. Allows clients to store small amounts of arbitrary data. "a_key": "A String", @@ -584,15 +584,15 @@

Method Details

"sslCaCertificate": "A String", # Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center. "webhookSecretSecretVersion": "A String", # Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks. }, - "createTime": "A String", # Output only. [Output only] Create timestamp + "createTime": "A String", # Output only. Create timestamp. "cryptoKeyConfig": { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. "keyReference": "A String", # Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. }, - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "deleteTime": "A String", # Output only. Delete timestamp. "disabled": True or False, # Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). - "enabled": True or False, # Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection. + "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the Git proxy feature. Enabling the Git proxy allows clients to perform Git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). + "enabled": True or False, # Optional. Setting this to true allows the Git proxy to be used for performing Git operations on the repositories linked in the connection. "httpProxyBaseUri": "A String", # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect. }, "githubConfig": { # Configuration for connections to github.com. # Configuration for connections to github.com. @@ -675,7 +675,7 @@

Method Details

"instance": "A String", # Required. Immutable. Secure Source Manager instance resource, formatted as `projects/*/locations/*/instances/*` }, "uid": "A String", # Output only. A system-assigned unique identifier for the Connection. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. }, ], "nextPageToken": "A String", # A token identifying a page of results the server should return. @@ -741,15 +741,15 @@

Method Details

"sslCaCertificate": "A String", # Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center. "webhookSecretSecretVersion": "A String", # Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). This is used to validate webhooks. }, - "createTime": "A String", # Output only. [Output only] Create timestamp + "createTime": "A String", # Output only. Create timestamp. "cryptoKeyConfig": { # The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. # Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. "keyReference": "A String", # Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. }, - "deleteTime": "A String", # Output only. [Output only] Delete timestamp + "deleteTime": "A String", # Output only. Delete timestamp. "disabled": True or False, # Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. "etag": "A String", # Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). - "enabled": True or False, # Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection. + "gitProxyConfig": { # Configuration for proxies. For legacy reasons, this message is named `GitProxyConfig`, but it includes settings for both Git and HTTP proxy. # Optional. Configuration for the Git proxy feature. Enabling the Git proxy allows clients to perform Git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy). + "enabled": True or False, # Optional. Setting this to true allows the Git proxy to be used for performing Git operations on the repositories linked in the connection. "httpProxyBaseUri": "A String", # Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect. }, "githubConfig": { # Configuration for connections to github.com. # Configuration for connections to github.com. @@ -832,7 +832,7 @@

Method Details

"instance": "A String", # Required. Immutable. Secure Source Manager instance resource, formatted as `projects/*/locations/*/instances/*` }, "uid": "A String", # Output only. A system-assigned unique identifier for the Connection. - "updateTime": "A String", # Output only. [Output only] Update timestamp + "updateTime": "A String", # Output only. Update timestamp. } allowMissing: boolean, Optional. If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties). diff --git a/docs/dyn/devicerun_v1.html b/docs/dyn/devicerun_v1.html new file mode 100644 index 0000000000..712ca49ad0 --- /dev/null +++ b/docs/dyn/devicerun_v1.html @@ -0,0 +1,111 @@ + + + +

Device Run API

+

Instance Methods

+

+ projects() +

+

Returns the projects Resource.

+ +

+ close()

+

Close httplib2 connections.

+

+ new_batch_http_request(callback=None)

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ new_batch_http_request(callback=None) +
Create a BatchHttpRequest object based on the discovery document.
+
+Args:
+  callback: callable, A callback to be called for each response, of the
+    form callback(id, response, exception). The first parameter is the
+    request id, and the second is the deserialized response object. The
+    third is an apiclient.errors.HttpError exception object if an HTTP
+    error occurred while processing the request, or None if no error
+    occurred.
+
+Returns:
+  A BatchHttpRequest object based on the discovery document.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1.projects.html b/docs/dyn/devicerun_v1.projects.html new file mode 100644 index 0000000000..cb59442fc9 --- /dev/null +++ b/docs/dyn/devicerun_v1.projects.html @@ -0,0 +1,91 @@ + + + +

Device Run API . projects

+

Instance Methods

+

+ locations() +

+

Returns the locations Resource.

+ +

+ close()

+

Close httplib2 connections.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1.projects.locations.devices.html b/docs/dyn/devicerun_v1.projects.locations.devices.html new file mode 100644 index 0000000000..e167a1f338 --- /dev/null +++ b/docs/dyn/devicerun_v1.projects.locations.devices.html @@ -0,0 +1,257 @@ + + + +

Device Run API . projects . locations . devices

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Returns information about a specific device.

+

+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists all devices.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Returns information about a specific device.
+
+Args:
+  name: string, Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A single routable device configuration in the catalog.
+  "accessDeniedReasons": [ # Output only. Reasons for access denial. This model is accessible/usable if this list is empty, otherwise the model is viewable only.
+    "A String",
+  ],
+  "androidDetails": { # Android-specific device attributes. # Output only. Contains Android-specific attributes (set when platform == ANDROID).
+    "buildType": "A String", # Output only. Mirrors the AOSP `ro.build.type` property, e.g. "user", "userdebug", "eng". Empty if unknown.
+    "supportedAbis": [ # Output only. Lists ABIs supported by the device (android.os.Build.SUPPORTED_ABIS), most preferred first, e.g. "arm64-v8a".
+      "A String",
+    ],
+  },
+  "availability": { # Fleet availability for a device configuration. # Output only. Reports the current fleet availability for this device configuration.
+    "available": "A String", # Output only. Specifies the current availability bucket (idle, immediately allocatable devices) for this device configuration. This is a best-effort snapshot, refreshed periodically. It fluctuates depending on traffic as other requests allocate devices.
+    "capacity": "A String", # Output only. Specifies the current capacity bucket for this device configuration. Represents the total number of online devices (idle or in use).
+  },
+  "displayName": "A String", # Output only. Provides a human-readable display name, e.g. "Pixel 5".
+  "formFactor": "A String", # Output only. Specifies the form factor of the device.
+  "hardwareType": "A String", # Output only. Indicates whether the device is physical or virtual.
+  "iosDetails": { # iOS-specific device attributes. Reserved for future iOS-only fields. # Output only. Contains iOS-specific attributes (set when platform == IOS).
+  },
+  "labInfo": { # The lab hosting a device. # Output only. The lab hosting this device.
+    "displayName": "A String", # Output only. Display name of the lab where the device is hosted. If empty, the device is hosted in a Google owned lab.
+    "regionCode": "A String", # Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. "US" for United States, "KR" for South Korea. Empty when the hosting region is not published.
+  },
+  "labels": { # Output only. Additional information. Informational only. May change over the lifecycle of a device.
+    "a_key": "A String",
+  },
+  "lifecycle": { # Catalog resource lifecycle: maturity state plus key lifecycle dates. # Output only. The device lifecycle (maturity stage and removal date).
+    "removalDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.
+      "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+      "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+      "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+    },
+    "state": "A String", # Output only. Specifies the current maturity state of the resource.
+  },
+  "manufacturer": "A String", # Output only. Specifies the hardware manufacturer of the device.
+  "modelCode": "A String", # Output only. Provides a human-readable model identifier for this device, independent of OS version. May be empty. Platform-dependent: * Android physical: hardware codename (android.os.Build.DEVICE), e.g. "shiba". * Android virtual: AVD model identifier, e.g. "MediumPhone.arm". * iOS: model identifier, e.g. "iphone14pro".
+  "name": "A String", # Identifier. Identifies the device resource. Format: `projects/{project}/locations/{location}/devices/{device}`. The {device} segment is an opaque, stable string. Clients must not parse it to derive or assume device-specific details.
+  "osVersion": "A String", # Output only. Specifies the OS version, e.g. "30" (Android API level) or "17.4" (iOS).
+  "platform": "A String", # Output only. Specifies the platform of the device.
+  "primaryScreen": { # Screen measurements of a device. # Output only. Measurements of the primary device screen. Informational only. Unset for devices without a screen (e.g. some wearables).
+    "densityDpi": 42, # Output only. Pixel density in dots per inch (dpi).
+    "heightPx": 42, # Output only. Height in pixels.
+    "widthPx": 42, # Output only. Width in pixels.
+  },
+  "supportedProducts": [ # Output only. Products/Services supported by this device.
+    { # Declares that a device supports a given Device Cloud product, with optional per-product metadata. Discriminated by which product-specific message is set; adding a new product = new oneof arm + new per-product message.
+      "automation": { # Per-product metadata for the Automation (DeviceRun) product. # Output only. Represents Automation, which is DeviceRun-backed automated test execution.
+      },
+      "deviceStreaming": { # Per-product metadata for the DeviceStreaming product. # Output only. Represents DeviceStreaming, which is interactive remote device streaming.
+        "minimumAndroidStudioVersion": "A String", # Output only. Specifies the minimum Android Studio version that supports this device. Optional; only set when the device is known to work only at or above a certain Android Studio version. Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706".
+      },
+    },
+  ],
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists all devices.
+
+Args:
+  parent: string, Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`. (required)
+  filter: string, Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which devices are returned. An empty filter returns all devices. Filtering is supported over the `Device` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `platform = "ANDROID"` * `platform = "ANDROID" AND os_version = "34"` * `hardware_type = "PHYSICAL" AND form_factor = "PHONE"` * `android_details.build_type = "userdebug"` * `availability.capacity = "HIGH"`
+  pageSize: integer, Optional. The maximum number of devices to return. The server may return fewer items than this value.
+  pageToken: string, Optional. A page token, received from a previous `ListDevices` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response including listed devices.
+  "devices": [ # The list of devices.
+    { # A single routable device configuration in the catalog.
+      "accessDeniedReasons": [ # Output only. Reasons for access denial. This model is accessible/usable if this list is empty, otherwise the model is viewable only.
+        "A String",
+      ],
+      "androidDetails": { # Android-specific device attributes. # Output only. Contains Android-specific attributes (set when platform == ANDROID).
+        "buildType": "A String", # Output only. Mirrors the AOSP `ro.build.type` property, e.g. "user", "userdebug", "eng". Empty if unknown.
+        "supportedAbis": [ # Output only. Lists ABIs supported by the device (android.os.Build.SUPPORTED_ABIS), most preferred first, e.g. "arm64-v8a".
+          "A String",
+        ],
+      },
+      "availability": { # Fleet availability for a device configuration. # Output only. Reports the current fleet availability for this device configuration.
+        "available": "A String", # Output only. Specifies the current availability bucket (idle, immediately allocatable devices) for this device configuration. This is a best-effort snapshot, refreshed periodically. It fluctuates depending on traffic as other requests allocate devices.
+        "capacity": "A String", # Output only. Specifies the current capacity bucket for this device configuration. Represents the total number of online devices (idle or in use).
+      },
+      "displayName": "A String", # Output only. Provides a human-readable display name, e.g. "Pixel 5".
+      "formFactor": "A String", # Output only. Specifies the form factor of the device.
+      "hardwareType": "A String", # Output only. Indicates whether the device is physical or virtual.
+      "iosDetails": { # iOS-specific device attributes. Reserved for future iOS-only fields. # Output only. Contains iOS-specific attributes (set when platform == IOS).
+      },
+      "labInfo": { # The lab hosting a device. # Output only. The lab hosting this device.
+        "displayName": "A String", # Output only. Display name of the lab where the device is hosted. If empty, the device is hosted in a Google owned lab.
+        "regionCode": "A String", # Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. "US" for United States, "KR" for South Korea. Empty when the hosting region is not published.
+      },
+      "labels": { # Output only. Additional information. Informational only. May change over the lifecycle of a device.
+        "a_key": "A String",
+      },
+      "lifecycle": { # Catalog resource lifecycle: maturity state plus key lifecycle dates. # Output only. The device lifecycle (maturity stage and removal date).
+        "removalDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.
+          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+        },
+        "state": "A String", # Output only. Specifies the current maturity state of the resource.
+      },
+      "manufacturer": "A String", # Output only. Specifies the hardware manufacturer of the device.
+      "modelCode": "A String", # Output only. Provides a human-readable model identifier for this device, independent of OS version. May be empty. Platform-dependent: * Android physical: hardware codename (android.os.Build.DEVICE), e.g. "shiba". * Android virtual: AVD model identifier, e.g. "MediumPhone.arm". * iOS: model identifier, e.g. "iphone14pro".
+      "name": "A String", # Identifier. Identifies the device resource. Format: `projects/{project}/locations/{location}/devices/{device}`. The {device} segment is an opaque, stable string. Clients must not parse it to derive or assume device-specific details.
+      "osVersion": "A String", # Output only. Specifies the OS version, e.g. "30" (Android API level) or "17.4" (iOS).
+      "platform": "A String", # Output only. Specifies the platform of the device.
+      "primaryScreen": { # Screen measurements of a device. # Output only. Measurements of the primary device screen. Informational only. Unset for devices without a screen (e.g. some wearables).
+        "densityDpi": 42, # Output only. Pixel density in dots per inch (dpi).
+        "heightPx": 42, # Output only. Height in pixels.
+        "widthPx": 42, # Output only. Width in pixels.
+      },
+      "supportedProducts": [ # Output only. Products/Services supported by this device.
+        { # Declares that a device supports a given Device Cloud product, with optional per-product metadata. Discriminated by which product-specific message is set; adding a new product = new oneof arm + new per-product message.
+          "automation": { # Per-product metadata for the Automation (DeviceRun) product. # Output only. Represents Automation, which is DeviceRun-backed automated test execution.
+          },
+          "deviceStreaming": { # Per-product metadata for the DeviceStreaming product. # Output only. Represents DeviceStreaming, which is interactive remote device streaming.
+            "minimumAndroidStudioVersion": "A String", # Output only. Specifies the minimum Android Studio version that supports this device. Optional; only set when the device is known to work only at or above a certain Android Studio version. Expected format "major.minor.micro.patch", e.g. "5921.22.2211.8881706".
+          },
+        },
+      ],
+    },
+  ],
+  "nextPageToken": "A String", # Token to receive the next page of devices. This will be absent if the end of the response list has been reached.
+}
+
+ +
+ list_next(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1.projects.locations.html b/docs/dyn/devicerun_v1.projects.locations.html new file mode 100644 index 0000000000..1ac7182ef0 --- /dev/null +++ b/docs/dyn/devicerun_v1.projects.locations.html @@ -0,0 +1,187 @@ + + + +

Device Run API . projects . locations

+

Instance Methods

+

+ devices() +

+

Returns the devices Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ softwareVersions() +

+

Returns the softwareVersions Resource.

+ +

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

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. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Gets information about a location.
+
+Args:
+  name: string, Resource name for the location. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A resource that represents a Google Cloud location.
+  "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
+  "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
+    "a_key": "A String",
+  },
+  "locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
+  "metadata": { # Service-specific metadata. For example the available capacity at the given location.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
+}
+
+ +
+ list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
+
+Args:
+  name: string, The resource that owns the locations collection, if applicable. (required)
+  extraLocationTypes: string, Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
+  filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
+  pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
+  pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The response message for Locations.ListLocations.
+  "locations": [ # A list of locations that matches the specified filter in the request.
+    { # A resource that represents a Google Cloud location.
+      "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
+      "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
+        "a_key": "A String",
+      },
+      "locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
+      "metadata": { # Service-specific metadata. For example the available capacity at the given location.
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+      "name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
+    },
+  ],
+  "nextPageToken": "A String", # The standard List next-page token.
+}
+
+ +
+ list_next(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1.projects.locations.operations.html b/docs/dyn/devicerun_v1.projects.locations.operations.html new file mode 100644 index 0000000000..e68cb6654d --- /dev/null +++ b/docs/dyn/devicerun_v1.projects.locations.operations.html @@ -0,0 +1,239 @@ + + + +

Device Run API . projects . locations . operations

+

Instance Methods

+

+ cancel(name, body=None, x__xgafv=None)

+

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

+

+ close()

+

Close httplib2 connections.

+

+ delete(name, x__xgafv=None)

+

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

+

+ get(name, x__xgafv=None)

+

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

+

+ list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)

+

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ cancel(name, body=None, x__xgafv=None) +
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
+
+Args:
+  name: string, The name of the operation resource to be cancelled. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The request message for Operations.CancelOperation.
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+ +
+ close() +
Close httplib2 connections.
+
+ +
+ delete(name, x__xgafv=None) +
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
+
+Args:
+  name: string, The name of the operation resource to be deleted. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+}
+
+ +
+ get(name, x__xgafv=None) +
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+
+Args:
+  name: string, The name of the operation resource. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
+  "error": { # The `Status` type defines a logical error model that is suitable for 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). # The error result of the operation in case of failure or cancellation.
+    "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.
+  },
+  "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
+  "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+ +
+ list(name, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None) +
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
+
+Args:
+  name: string, The name of the operation's parent resource. (required)
+  filter: string, The standard list filter.
+  pageSize: integer, The standard list page size.
+  pageToken: string, The standard list page token.
+  returnPartialSuccess: boolean, When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The response message for Operations.ListOperations.
+  "nextPageToken": "A String", # The standard List next-page token.
+  "operations": [ # A list of operations that matches the specified filter in the request.
+    { # This resource represents a long-running operation that is the result of a network API call.
+      "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
+      "error": { # The `Status` type defines a logical error model that is suitable for 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). # The error result of the operation in case of failure or cancellation.
+        "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.
+      },
+      "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+      "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
+      "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    },
+  ],
+  "unreachable": [ # Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
+    "A String",
+  ],
+}
+
+ +
+ list_next(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1.projects.locations.softwareVersions.html b/docs/dyn/devicerun_v1.projects.locations.softwareVersions.html new file mode 100644 index 0000000000..68b0d01edd --- /dev/null +++ b/docs/dyn/devicerun_v1.projects.locations.softwareVersions.html @@ -0,0 +1,193 @@ + + + +

Device Run API . projects . locations . softwareVersions

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ get(name, x__xgafv=None)

+

Returns information about a specific software version.

+

+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists all software versions.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ get(name, x__xgafv=None) +
Returns information about a specific software version.
+
+Args:
+  name: string, Required. The name of the software version. Format: `projects/{project}/locations/global/softwareVersions/{software_version}`. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # A single software version in the catalog.
+  "androidxTestOrchestratorDetails": { # AndroidX Test Orchestrator-specific attributes. Reserved for future orchestrator-only fields. # Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == ANDROIDX_TEST_ORCHESTRATOR).
+  },
+  "displayName": "A String", # Output only. Provides a human-readable name for this version, e.g. "AndroidX Test Orchestrator 1.4.1".
+  "isDefault": True or False, # Output only. Indicates whether the system uses this version when a request does not select one explicitly. Exactly one version per `software_type` is the default, and it may change over time.
+  "lifecycle": { # Catalog resource lifecycle: maturity state plus key lifecycle dates. # Output only. The version lifecycle (maturity stage and removal date).
+    "removalDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.
+      "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+      "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+      "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+    },
+    "state": "A String", # Output only. Specifies the current maturity state of the resource.
+  },
+  "name": "A String", # Identifier. Identifies the software version resource. Format: `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The {software_version} segment is an opaque, stable string. Clients must not parse it to derive or assume the version.
+  "softwareType": "A String", # Output only. Specifies which software this is a version of. Filter on this field to narrow the collection to a single kind of software, for example `software_type = "ANDROIDX_TEST_ORCHESTRATOR"`.
+  "version": "A String", # Output only. Specifies the version identifier, e.g. "1.4.1". Unique within a `software_type`.
+  "xcodeDetails": { # Xcode-specific attributes. # Output only. Contains Xcode-specific attributes (set when software_type == XCODE).
+    "supportedIosVersions": [ # Output only. Lists the iOS versions this Xcode can run tests against, e.g. "16.6". This is a property of the toolchain, so it says nothing about whether a device on that iOS version is available; list the `Device` collection to find out.
+      "A String",
+    ],
+  },
+}
+
+ +
+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists all software versions.
+
+Args:
+  parent: string, Required. The parent of the collection of software versions. Format: `projects/{project}/locations/global`. (required)
+  filter: string, Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which software versions are returned. An empty filter returns all software versions. Filtering is supported over the `SoftwareVersion` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `software_type = "ANDROIDX_TEST_ORCHESTRATOR"` * `software_type = "ANDROIDX_TEST_ORCHESTRATOR" AND is_default = true` * `lifecycle.state = "ACTIVE"` * `version = "1.4.1"`
+  pageSize: integer, Optional. The maximum number of software versions to return. The server may return fewer items than this value.
+  pageToken: string, Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListSoftwareVersions` must match the call that provided the page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response including listed software versions.
+  "nextPageToken": "A String", # Token to receive the next page of software versions. This will be absent if the end of the response list has been reached.
+  "softwareVersions": [ # The list of software versions.
+    { # A single software version in the catalog.
+      "androidxTestOrchestratorDetails": { # AndroidX Test Orchestrator-specific attributes. Reserved for future orchestrator-only fields. # Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == ANDROIDX_TEST_ORCHESTRATOR).
+      },
+      "displayName": "A String", # Output only. Provides a human-readable name for this version, e.g. "AndroidX Test Orchestrator 1.4.1".
+      "isDefault": True or False, # Output only. Indicates whether the system uses this version when a request does not select one explicitly. Exactly one version per `software_type` is the default, and it may change over time.
+      "lifecycle": { # Catalog resource lifecycle: maturity state plus key lifecycle dates. # Output only. The version lifecycle (maturity stage and removal date).
+        "removalDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.
+          "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
+          "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
+          "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
+        },
+        "state": "A String", # Output only. Specifies the current maturity state of the resource.
+      },
+      "name": "A String", # Identifier. Identifies the software version resource. Format: `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The {software_version} segment is an opaque, stable string. Clients must not parse it to derive or assume the version.
+      "softwareType": "A String", # Output only. Specifies which software this is a version of. Filter on this field to narrow the collection to a single kind of software, for example `software_type = "ANDROIDX_TEST_ORCHESTRATOR"`.
+      "version": "A String", # Output only. Specifies the version identifier, e.g. "1.4.1". Unique within a `software_type`.
+      "xcodeDetails": { # Xcode-specific attributes. # Output only. Contains Xcode-specific attributes (set when software_type == XCODE).
+        "supportedIosVersions": [ # Output only. Lists the iOS versions this Xcode can run tests against, e.g. "16.6". This is a property of the toolchain, so it says nothing about whether a device on that iOS version is available; list the `Device` collection to find out.
+          "A String",
+        ],
+      },
+    },
+  ],
+}
+
+ +
+ list_next(previous_request, previous_response) +
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.
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html b/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html index d006f42ae3..d62b578e22 100644 --- a/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html +++ b/docs/dyn/devicerun_v1alpha.projects.locations.sessions.html @@ -310,7 +310,7 @@

Method Details

"fileConfigs": [ # Required. Configs of pushing files to the device. Limits: - A maximum of 50 files are allowed. { # The configuration of pushing a file to the iOS device. "bundleId": "A String", # Required. The bundle ID of the application sandbox. - "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". + "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". It must be in the app's "/Documents" directory or under "/private/var/mobile/Media/". This is the path of the pushed file, and missing parent directories are created. If the path is an existing directory, such as "/Documents", the file is placed in it under the file name of `source_file`. A trailing "/" does not create a directory: "/Documents/foo/" pushes the file to "/Documents/foo" unless that directory already exists. "sourceFile": { # Input file. # Required. The file to be pushed. "gcsInputFile": { # A path to a file or directory in Google Cloud Storage. # An input file in Google Cloud Storage. "path": "A String", # Required. The Google Cloud Storage path of the file or directory. Format: `gs:///`. @@ -717,7 +717,7 @@

Method Details

"fileConfigs": [ # Required. Configs of pushing files to the device. Limits: - A maximum of 50 files are allowed. { # The configuration of pushing a file to the iOS device. "bundleId": "A String", # Required. The bundle ID of the application sandbox. - "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". + "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". It must be in the app's "/Documents" directory or under "/private/var/mobile/Media/". This is the path of the pushed file, and missing parent directories are created. If the path is an existing directory, such as "/Documents", the file is placed in it under the file name of `source_file`. A trailing "/" does not create a directory: "/Documents/foo/" pushes the file to "/Documents/foo" unless that directory already exists. "sourceFile": { # Input file. # Required. The file to be pushed. "gcsInputFile": { # A path to a file or directory in Google Cloud Storage. # An input file in Google Cloud Storage. "path": "A String", # Required. The Google Cloud Storage path of the file or directory. Format: `gs:///`. @@ -888,8 +888,8 @@

Method Details

}, } - requestId: string, Optional. A unique identifier for this request. This request is only idempotent if a `request_id` is provided, i.e. if a request with the same `request_id` is received, then the previous result will be returned. The server will guarantee that for at least 60 minutes after the first request. The value must be a UUID (e.g., 123e4567-e89b-12d3-a456-426655440000). See github.com/google/uuid for more details. - sessionId: string, Optional. The ID to use for the session, which will become the final component of the resource name. If not provided, the server will generate a value for this field. When provided, this value must be between 4 and 63 characters, and match the following regex: ^a-z{2,61}[a-z0-9]$. + requestId: string, Optional. A unique identifier for this request. This request is only idempotent if both `request_id` and `session_id` are provided. If a retry with the same `request_id` and `session_id` is received, then the previous result will be returned. The server will guarantee that for at least 60 minutes after the first request. If `request_id` is provided without `session_id`, the server generates a new `session_id` on each attempt, and retries with the same `request_id` will fail with `INVALID_ARGUMENT`. The value must be a UUID (e.g., 123e4567-e89b-12d3-a456-426655440000). See github.com/google/uuid for more details. + sessionId: string, Optional. The ID to use for the session, which will become the final component of the resource name. If not provided, the server will generate a value for this field. To make the request idempotent when `request_id` is specified, callers must also provide `session_id` so that retries target the same resource name. When provided, this value must be between 4 and 63 characters, and match the following regex: ^a-z{2,61}[a-z0-9]$. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -1168,7 +1168,7 @@

Method Details

"fileConfigs": [ # Required. Configs of pushing files to the device. Limits: - A maximum of 50 files are allowed. { # The configuration of pushing a file to the iOS device. "bundleId": "A String", # Required. The bundle ID of the application sandbox. - "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". + "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". It must be in the app's "/Documents" directory or under "/private/var/mobile/Media/". This is the path of the pushed file, and missing parent directories are created. If the path is an existing directory, such as "/Documents", the file is placed in it under the file name of `source_file`. A trailing "/" does not create a directory: "/Documents/foo/" pushes the file to "/Documents/foo" unless that directory already exists. "sourceFile": { # Input file. # Required. The file to be pushed. "gcsInputFile": { # A path to a file or directory in Google Cloud Storage. # An input file in Google Cloud Storage. "path": "A String", # Required. The Google Cloud Storage path of the file or directory. Format: `gs:///`. @@ -1560,7 +1560,7 @@

Method Details

"fileConfigs": [ # Required. Configs of pushing files to the device. Limits: - A maximum of 50 files are allowed. { # The configuration of pushing a file to the iOS device. "bundleId": "A String", # Required. The bundle ID of the application sandbox. - "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". + "destinationPath": "A String", # Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". It must be in the app's "/Documents" directory or under "/private/var/mobile/Media/". This is the path of the pushed file, and missing parent directories are created. If the path is an existing directory, such as "/Documents", the file is placed in it under the file name of `source_file`. A trailing "/" does not create a directory: "/Documents/foo/" pushes the file to "/Documents/foo" unless that directory already exists. "sourceFile": { # Input file. # Required. The file to be pushed. "gcsInputFile": { # A path to a file or directory in Google Cloud Storage. # An input file in Google Cloud Storage. "path": "A String", # Required. The Google Cloud Storage path of the file or directory. Format: `gs:///`. diff --git a/docs/dyn/dfareporting_v5.creatives.html b/docs/dyn/dfareporting_v5.creatives.html index 11148bfa20..4a56e7c1f7 100644 --- a/docs/dyn/dfareporting_v5.creatives.html +++ b/docs/dyn/dfareporting_v5.creatives.html @@ -123,6 +123,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -538,6 +690,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -951,6 +1255,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -1421,6 +1877,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -1855,21 +2463,173 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], - "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. - { # Represents the dimensions of ads, placements, creatives, or creative assets. - "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. - "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. - "id": "A String", # ID of this size. This is a read-only, auto-generated field. - "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". - "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. - }, - ], - "advertiserId": "A String", # Required. Advertiser ID of this creative. This is a required field. Applicable to all creative types. - "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. - "archived": True or False, # Whether the creative is archived. Applicable to all creative types. - "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. - "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. - "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, + "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "advertiserId": "A String", # Required. Advertiser ID of this creative. This is a required field. Applicable to all creative types. + "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. + "archived": True or False, # Whether the creative is archived. Applicable to all creative types. + "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. + "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. + "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. @@ -2268,6 +3028,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -2683,6 +3595,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. @@ -3096,6 +4160,158 @@

Method Details

"adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. "A String", ], + "additionalAsset": { # Additional assets for a creative. # Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms. + "callToActions": [ # Optional. Call to actions for the creative. + "A String", + ], + "coverImages": [ # Optional. Cover images for the creative. + { # Creative Asset. + "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. + { # Represents the dimensions of ads, placements, creatives, or creative assets. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + ], + "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL . + "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. + }, + "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. + "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. + "advertiserCustomEventName": "A String", # User-entered name for the event. + "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. + "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. + "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. + "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. + "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. + "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. + "landingPageId": "A String", # ID of the landing page for the click-through URL. + }, + "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. + "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. + "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionType": "A String", # Popup window position either centered or at specific coordinate. + "showAddressBar": True or False, # Whether to display the browser address bar. + "showMenuBar": True or False, # Whether to display the browser menu bar. + "showScrollBar": True or False, # Whether to display the browser scroll bar. + "showStatusBar": True or False, # Whether to display the browser status bar. + "showToolBar": True or False, # Whether to display the browser tool bar. + "title": "A String", # Title of popup window. + }, + "targetType": "A String", # Target type used by the event. + "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. + }, + "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. + "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + "A String", + ], + "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. + "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "A String", + ], + "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. + "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. + "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. + "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. + "dimensionName": "A String", # The name of the dimension. + "etag": "A String", # The eTag of this response for caching purposes. + "id": "A String", # The ID associated with the value if available. + "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. + "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. + "value": "A String", # The value of the dimension. + }, + "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. + "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. + "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. + "politeLoad": True or False, # Whether this asset is used as a polite load asset. + "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. + "left": 42, # Offset distance from left side of an asset or a window. + "top": 42, # Offset distance from top side of an asset or a window. + }, + "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. + "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. + "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. + "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. + "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. + "id": "A String", # ID of this size. This is a read-only, auto-generated field. + "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". + "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. + }, + "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. + "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. + "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. + "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. + "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. + }, + ], + "descriptions": [ # Optional. Descriptions for the creative. + "A String", + ], + "displayUrl": "A String", # Optional. Display URL for the creative. + "headlines": [ # Optional. Headlines for the creative. + "A String", + ], + "longDescriptions": [ # Optional. Long descriptions for the creative. + "A String", + ], + "longHeadlines": [ # Optional. Long headlines for the creative. + "A String", + ], + }, "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. diff --git a/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html index aaf7e9b73a..05998c87a5 100644 --- a/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.agent.environments.users.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.agent.sessions.html b/docs/dyn/dialogflow_v2.projects.agent.sessions.html index 6aeaad172c..6a8f48679a 100644 --- a/docs/dyn/dialogflow_v2.projects.agent.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.agent.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.conversationProfiles.html b/docs/dyn/dialogflow_v2.projects.conversationProfiles.html index 97b77a0198..c6fb69640a 100644 --- a/docs/dyn/dialogflow_v2.projects.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2.projects.conversationProfiles.html @@ -370,6 +370,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -631,6 +634,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -917,6 +923,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1189,6 +1198,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1469,6 +1481,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1731,6 +1746,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.conversations.html b/docs/dyn/dialogflow_v2.projects.conversations.html index 3f9dc020c5..8a4d6c8950 100644 --- a/docs/dyn/dialogflow_v2.projects.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.conversations.html @@ -363,6 +363,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -674,6 +677,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -984,6 +990,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1300,6 +1309,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1621,6 +1633,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.conversations.participants.html b/docs/dyn/dialogflow_v2.projects.conversations.participants.html index 9010194c55..e3e394d7fa 100644 --- a/docs/dyn/dialogflow_v2.projects.conversations.participants.html +++ b/docs/dyn/dialogflow_v2.projects.conversations.participants.html @@ -119,6 +119,9 @@

Method Details

"audioInput": { "audio": "A String", "config": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html index 1933b24062..3745804902 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.agent.environments.users.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html b/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html index 760b0693ed..5de4b114ec 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.agent.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html b/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html index 224b5ead0c..5cb17c3d19 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversationProfiles.html @@ -370,6 +370,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -631,6 +634,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -917,6 +923,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1189,6 +1198,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1469,6 +1481,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1731,6 +1746,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversations.html b/docs/dyn/dialogflow_v2.projects.locations.conversations.html index 36f4d5099b..02ae2021b3 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversations.html @@ -366,6 +366,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -677,6 +680,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -987,6 +993,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1303,6 +1312,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1678,6 +1690,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html b/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html index a5062f40d7..34d6d3233e 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html +++ b/docs/dyn/dialogflow_v2.projects.locations.conversations.participants.html @@ -119,6 +119,9 @@

Method Details

"audioInput": { "audio": "A String", "config": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "disableNoSpeechRecognizedEvent": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.locations.suggestions.html b/docs/dyn/dialogflow_v2.projects.locations.suggestions.html index b27f7fabd6..f41d6a9f9e 100644 --- a/docs/dyn/dialogflow_v2.projects.locations.suggestions.html +++ b/docs/dyn/dialogflow_v2.projects.locations.suggestions.html @@ -310,6 +310,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2.projects.suggestions.html b/docs/dyn/dialogflow_v2.projects.suggestions.html index c61c201859..7d86300052 100644 --- a/docs/dyn/dialogflow_v2.projects.suggestions.html +++ b/docs/dyn/dialogflow_v2.projects.suggestions.html @@ -310,6 +310,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html index f7512dfc26..cf600cea4c 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.agent.environments.users.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html index 297d8bbce2..a8d7bec342 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.agent.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html b/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html index 16cd111a48..2d01283589 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversationProfiles.html @@ -362,6 +362,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -616,6 +619,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -895,6 +901,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1160,6 +1169,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1433,6 +1445,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1688,6 +1703,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.conversations.html index f7fb1f1c7f..1c88ea63bd 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversations.html @@ -355,6 +355,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -659,6 +662,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -962,6 +968,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1271,6 +1280,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1585,6 +1597,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html b/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html index 4adbee0e0c..e7d96181ac 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html +++ b/docs/dyn/dialogflow_v2beta1.projects.conversations.participants.html @@ -119,6 +119,9 @@

Method Details

"audioInput": { "audio": "A String", "config": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html index 29d9721e3d..4671199674 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.environments.users.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html index bbc1acf7c5..2c89b09a85 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.agent.sessions.html @@ -154,6 +154,9 @@

Method Details

"outputAudioConfigMask": "A String", "queryInput": { "audioConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html index d498c84499..05434ac40f 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversationProfiles.html @@ -362,6 +362,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -616,6 +619,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -895,6 +901,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1160,6 +1169,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1433,6 +1445,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1688,6 +1703,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html index 16d5fa4106..973afb332b 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.html @@ -358,6 +358,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -662,6 +665,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -965,6 +971,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1274,6 +1283,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, @@ -1642,6 +1654,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html index 4b59b28cc0..658975772d 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.conversations.participants.html @@ -119,6 +119,9 @@

Method Details

"audioInput": { "audio": "A String", "config": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "bargeInConfig": { "noBargeInDuration": "A String", diff --git a/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html b/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html index 4b074fbd6d..f777eaadee 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.locations.suggestions.html @@ -302,6 +302,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dialogflow_v2beta1.projects.suggestions.html b/docs/dyn/dialogflow_v2beta1.projects.suggestions.html index 6b0b56b0b9..b4b6daf333 100644 --- a/docs/dyn/dialogflow_v2beta1.projects.suggestions.html +++ b/docs/dyn/dialogflow_v2beta1.projects.suggestions.html @@ -302,6 +302,9 @@

Method Details

"maxAudioRecordingDuration": "A String", }, "sttConfig": { + "alternativeLanguageCodes": [ + "A String", + ], "audioEncoding": "A String", "disableInterimInputTranscripts": True or False, "enableWordInfo": True or False, diff --git a/docs/dyn/dlp_v2.projects.content.html b/docs/dyn/dlp_v2.projects.content.html index 4df8c1e74e..7c7cc75c8f 100644 --- a/docs/dyn/dlp_v2.projects.content.html +++ b/docs/dyn/dlp_v2.projects.content.html @@ -2699,6 +2699,7 @@

Method Details

"width": 42, # Width of the bounding box in pixels. }, ], + "pageNumber": 42, # The 0-indexed page number or frame index for multi-page image formats. }, "metadataLocation": { # Metadata Location # Location within the metadata for inspected content. "keyValueMetadataLabel": { # The metadata key that contains a finding. # Metadata key that contains the finding. diff --git a/docs/dyn/dlp_v2.projects.image.html b/docs/dyn/dlp_v2.projects.image.html index ebc9018655..896b449c7c 100644 --- a/docs/dyn/dlp_v2.projects.image.html +++ b/docs/dyn/dlp_v2.projects.image.html @@ -448,6 +448,7 @@

Method Details

"width": 42, # Width of the bounding box in pixels. }, ], + "pageNumber": 42, # The 0-indexed page number or frame index for multi-page image formats. }, "metadataLocation": { # Metadata Location # Location within the metadata for inspected content. "keyValueMetadataLabel": { # The metadata key that contains a finding. # Metadata key that contains the finding. diff --git a/docs/dyn/dlp_v2.projects.locations.content.html b/docs/dyn/dlp_v2.projects.locations.content.html index 95814feafd..5d7d0d185a 100644 --- a/docs/dyn/dlp_v2.projects.locations.content.html +++ b/docs/dyn/dlp_v2.projects.locations.content.html @@ -2699,6 +2699,7 @@

Method Details

"width": 42, # Width of the bounding box in pixels. }, ], + "pageNumber": 42, # The 0-indexed page number or frame index for multi-page image formats. }, "metadataLocation": { # Metadata Location # Location within the metadata for inspected content. "keyValueMetadataLabel": { # The metadata key that contains a finding. # Metadata key that contains the finding. diff --git a/docs/dyn/dlp_v2.projects.locations.image.html b/docs/dyn/dlp_v2.projects.locations.image.html index 609e99a1a3..dae92b3545 100644 --- a/docs/dyn/dlp_v2.projects.locations.image.html +++ b/docs/dyn/dlp_v2.projects.locations.image.html @@ -448,6 +448,7 @@

Method Details

"width": 42, # Width of the bounding box in pixels. }, ], + "pageNumber": 42, # The 0-indexed page number or frame index for multi-page image formats. }, "metadataLocation": { # Metadata Location # Location within the metadata for inspected content. "keyValueMetadataLabel": { # The metadata key that contains a finding. # Metadata key that contains the finding. diff --git a/docs/dyn/fcm_v1.projects.messages.html b/docs/dyn/fcm_v1.projects.messages.html index 12cec5a650..da6c5a3213 100644 --- a/docs/dyn/fcm_v1.projects.messages.html +++ b/docs/dyn/fcm_v1.projects.messages.html @@ -107,7 +107,7 @@

Method Details

"fcmOptions": { # Options for features provided by the FCM SDK for Android. # Options for features provided by the FCM SDK for Android. "analyticsLabel": "A String", # Label associated with the message's analytics data. }, - "notification": { # Notification to send to android devices. # Notification to send to android devices. + "notification": { # Notification to send to android devices. # Notification to send to Android devices. "body": "A String", # The notification's body text. If present, it will override google.firebase.fcm.v1.Notification.body. "bodyLocArgs": [ # Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. "A String", @@ -134,7 +134,7 @@

Method Details

"lightOnDuration": "A String", # Required. Along with `light_off_duration`, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) }, "localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging) - "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. + "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. "notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. This parameter affects notification priority only on devices running Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is ignored in favor of channel [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance). Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered. "proxy": "A String", # Setting to control when a notification may be proxied. "sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/. @@ -170,7 +170,7 @@

Method Details

}, "remoteNotification": { # A Remote Notification message that is sent to Android devices. # Optional. User-facing notification to send to Android devices. These messages are delivered immediately and are not delayed by battery optimizations. "mutableContent": True or False, # Optional. If set to true, the notification content can be updated by the app after the notification is received on the device. - "notification": { # Notification v2 to send to android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API. # Optional. Notification to send to android devices. + "notification": { # Notification v2 to send to Android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API. # Optional. Notification to send to Android devices. "body": "A String", # The notification's body text. If present, it will override google.firebase.fcm.v1.Notification.body. "bodyLocArgs": [ # Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. "A String", @@ -184,7 +184,7 @@

Method Details

"defaultVibrateTimings": True or False, # If set to true, use the Android framework's default vibrate pattern for the notification. Default values are specified in [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). If `default_vibrate_timings` is set to true and `vibrate_timings` is also set, the default value is used instead of the user-specified `vibrate_timings`. "eventTime": "A String", # Set the time that the event in the notification occurred. Notifications in the panel are sorted by this time. A point in time is represented using [protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Timestamp). "icon": "A String", # The notification's icon. Sets the notification icon to myicon for drawable resource myicon. If you don't send this key in the request, FCM displays the launcher icon specified in your app manifest. - "id": 42, # Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. + "id": 42, # Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. "image": "A String", # An HTTPS URL of an image to display in the notification. If present, it overrides google.firebase.fcm.v1.Notification.image. "lightSettings": { # Settings to control notification LED. # Settings to control the notification's LED blinking rate and color if LED is available on the device. The total blinking time is controlled by the OS. "color": { # Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ... # Required. Set `color` of the LED with [google.type.Color](https://github.com/googleapis/googleapis/blob/master/google/type/color.proto). @@ -197,11 +197,11 @@

Method Details

"lightOnDuration": "A String", # Required. Along with `light_off_duration`, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) }, "localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging) - "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. + "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. "notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. This parameter affects notification priority only on devices running Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is ignored in favor of channel [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance). Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered. "sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/. "sticky": True or False, # When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel. When set to true, the notification persists even when the user clicks it. - "tag": "A String", # Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. + "tag": "A String", # Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. "ticker": "A String", # Sets the "ticker" text, which is sent to accessibility services. Prior to API level 21 (`Lollipop`), sets the text that is displayed in the status bar when the notification first arrives. "title": "A String", # The notification's title. If present, it will override google.firebase.fcm.v1.Notification.title. "titleLocArgs": [ # Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. @@ -213,7 +213,7 @@

Method Details

], "visibility": "A String", # Set the [Notification.visibility](https://developer.android.com/reference/android/app/Notification.html#visibility) of the notification. }, - "useAsV1DataMessage": True or False, # Optional. If set to true, this RemoteNotification message will be delivered to legacy V1 clients as data messages by omitting the google.firebase.fcm.v1.Message.android_v2.remote_notification.notification. This should only be enabled when migration from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification message for legacy clients; + "useAsV1DataMessage": True or False, # Optional. If set to `true`, this RemoteNotification message will be delivered to legacy V1 clients as a data message by omitting the google.firebase.fcm.v1.AndroidRemoteNotification.notification. This should only be enabled when migrating from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification messages for legacy clients. }, "restrictedPackageName": "A String", # Package name of the application where the registration token must match in order to receive the message. "restrictedSatelliteOk": True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are enabled to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier's settings and the device model. @@ -286,7 +286,7 @@

Method Details

"fcmOptions": { # Options for features provided by the FCM SDK for Android. # Options for features provided by the FCM SDK for Android. "analyticsLabel": "A String", # Label associated with the message's analytics data. }, - "notification": { # Notification to send to android devices. # Notification to send to android devices. + "notification": { # Notification to send to android devices. # Notification to send to Android devices. "body": "A String", # The notification's body text. If present, it will override google.firebase.fcm.v1.Notification.body. "bodyLocArgs": [ # Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. "A String", @@ -313,7 +313,7 @@

Method Details

"lightOnDuration": "A String", # Required. Along with `light_off_duration`, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) }, "localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging) - "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. + "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. "notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. This parameter affects notification priority only on devices running Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is ignored in favor of channel [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance). Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered. "proxy": "A String", # Setting to control when a notification may be proxied. "sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/. @@ -349,7 +349,7 @@

Method Details

}, "remoteNotification": { # A Remote Notification message that is sent to Android devices. # Optional. User-facing notification to send to Android devices. These messages are delivered immediately and are not delayed by battery optimizations. "mutableContent": True or False, # Optional. If set to true, the notification content can be updated by the app after the notification is received on the device. - "notification": { # Notification v2 to send to android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API. # Optional. Notification to send to android devices. + "notification": { # Notification v2 to send to Android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API. # Optional. Notification to send to Android devices. "body": "A String", # The notification's body text. If present, it will override google.firebase.fcm.v1.Notification.body. "bodyLocArgs": [ # Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. "A String", @@ -363,7 +363,7 @@

Method Details

"defaultVibrateTimings": True or False, # If set to true, use the Android framework's default vibrate pattern for the notification. Default values are specified in [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). If `default_vibrate_timings` is set to true and `vibrate_timings` is also set, the default value is used instead of the user-specified `vibrate_timings`. "eventTime": "A String", # Set the time that the event in the notification occurred. Notifications in the panel are sorted by this time. A point in time is represented using [protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Timestamp). "icon": "A String", # The notification's icon. Sets the notification icon to myicon for drawable resource myicon. If you don't send this key in the request, FCM displays the launcher icon specified in your app manifest. - "id": 42, # Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. + "id": 42, # Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. "image": "A String", # An HTTPS URL of an image to display in the notification. If present, it overrides google.firebase.fcm.v1.Notification.image. "lightSettings": { # Settings to control notification LED. # Settings to control the notification's LED blinking rate and color if LED is available on the device. The total blinking time is controlled by the OS. "color": { # Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ... # Required. Set `color` of the LED with [google.type.Color](https://github.com/googleapis/googleapis/blob/master/google/type/color.proto). @@ -376,11 +376,11 @@

Method Details

"lightOnDuration": "A String", # Required. Along with `light_off_duration`, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) }, "localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging) - "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. + "notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives. "notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. This parameter affects notification priority only on devices running Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is ignored in favor of channel [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance). Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered. "sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/. "sticky": True or False, # When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel. When set to true, the notification persists even when the user clicks it. - "tag": "A String", # Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. + "tag": "A String", # Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer. "ticker": "A String", # Sets the "ticker" text, which is sent to accessibility services. Prior to API level 21 (`Lollipop`), sets the text that is displayed in the status bar when the notification first arrives. "title": "A String", # The notification's title. If present, it will override google.firebase.fcm.v1.Notification.title. "titleLocArgs": [ # Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information. @@ -392,7 +392,7 @@

Method Details

], "visibility": "A String", # Set the [Notification.visibility](https://developer.android.com/reference/android/app/Notification.html#visibility) of the notification. }, - "useAsV1DataMessage": True or False, # Optional. If set to true, this RemoteNotification message will be delivered to legacy V1 clients as data messages by omitting the google.firebase.fcm.v1.Message.android_v2.remote_notification.notification. This should only be enabled when migration from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification message for legacy clients; + "useAsV1DataMessage": True or False, # Optional. If set to `true`, this RemoteNotification message will be delivered to legacy V1 clients as a data message by omitting the google.firebase.fcm.v1.AndroidRemoteNotification.notification. This should only be enabled when migrating from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification messages for legacy clients. }, "restrictedPackageName": "A String", # Package name of the application where the registration token must match in order to receive the message. "restrictedSatelliteOk": True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are enabled to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier's settings and the device model. diff --git a/docs/dyn/firebasecrashlytics_v1alpha.projects.apps.reports.html b/docs/dyn/firebasecrashlytics_v1alpha.projects.apps.reports.html index 9a32a59e5f..9136efd13f 100644 --- a/docs/dyn/firebasecrashlytics_v1alpha.projects.apps.reports.html +++ b/docs/dyn/firebasecrashlytics_v1alpha.projects.apps.reports.html @@ -98,7 +98,7 @@

Method Details

Args: name: string, Required. The report name. Format: "projects/{project}/apps/{app_id}/reports/{report}". (required) - filterExpression: string, Optional. Filters the events counted in the report by custom keys. Not all reports support this filter. It is currently only supported for web apps, for the `webMetrics`, `topBrowsers`, `topOperatingSystems`, `topVersions`, and `topCustomKeys` reports. Requests for other apps or reports that set this field are rejected with INVALID_ARGUMENT. Supported forms: * Equality: `custom_keys.level = "vip"` * Has: `custom_keys.level:"vip"` (matches the same events as equality) * Presence: `custom_keys.level:*` * OR across values of one key: `custom_keys.level = "vip" OR custom_keys.level = "enterprise"` * AND across different keys: `custom_keys.level = "vip" AND custom_keys.region = "us"` Keys are case-sensitive. Keys and values containing spaces must be double-quoted, for example `custom_keys."app state" = "background"`. OR across different keys, repeating a key within an AND, NOT, and comparators other than `=` and `:` are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; use `custom_keys.:*` to match events that set a key to any value. This filter expression applies in addition to the `filter` field above. The syntax is a subset of AIP-160 (https://google.aip.dev/160). + filterExpression: string, Optional. Filters the events counted in the report by custom keys. Not all reports support this filter. It is currently only supported for web apps; see the report's `usage` field for whether `filter_expression` is supported. Requests for other apps or unsupported reports that set this field are rejected with `INVALID_ARGUMENT`. Supported forms: * Equality: `custom_keys.level = "vip"` * Has: `custom_keys.level:"vip"` (matches the same events as equality) * Presence: `custom_keys.level:*` * OR across values of one key: `custom_keys.level = "vip" OR custom_keys.level = "enterprise"` * AND across different keys: `custom_keys.level = "vip" AND custom_keys.region = "us"` Keys are case-sensitive. Keys and values containing spaces must be double-quoted, for example `custom_keys."app state" = "background"`. OR across different keys, repeating a key within an AND, NOT, and comparators other than `=` and `:` are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; use `custom_keys.:*` to match events that set a key to any value. This filter expression applies in addition to the `filter` field above. The syntax is a subset of AIP-160 (https://google.aip.dev/160). filter_browser_displayNames: string, Optional. Only count events from the given browser. This string matches Browser.display_name. Format: "name (display_version)" e.g. "Chrome (123)", or just "name" for all possible versions, e.g. simply "Chrome". (repeated) filter_device_displayNames: string, Only counts events from the given Device model. This string matches Device.display_name. Format: "manufacturer (model)" e.g. "Google (Pixel 6)", or just "manufacturer" for all possible models, e.g. simply "Google". Note that a device's marketing_name field can not be used for filtering. (repeated) filter_device_formFactors: string, Only counts events from devices with the given form factor (e.g. phone or tablet). (repeated) diff --git a/docs/dyn/ftp_v1.projects.locations.servers.html b/docs/dyn/ftp_v1.projects.locations.servers.html index cd84b4c00e..8482e009f3 100644 --- a/docs/dyn/ftp_v1.projects.locations.servers.html +++ b/docs/dyn/ftp_v1.projects.locations.servers.html @@ -168,7 +168,7 @@

Method Details

} requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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). - serverId: string, Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Maximum length is 30 characters. + serverId: string, Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Can't begin with the prefix `goog` or contain the string `google`, including close misspellings such as `g00gle`. Maximum length is 30 characters. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/ftp_v1alpha.projects.locations.servers.html b/docs/dyn/ftp_v1alpha.projects.locations.servers.html index d250a81d1c..ee1056b36e 100644 --- a/docs/dyn/ftp_v1alpha.projects.locations.servers.html +++ b/docs/dyn/ftp_v1alpha.projects.locations.servers.html @@ -168,7 +168,7 @@

Method Details

} requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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). - serverId: string, Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Maximum length is 30 characters. + serverId: string, Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Can't begin with the prefix `goog` or contain the string `google`, including close misspellings such as `g00gle`. Maximum length is 30 characters. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/gkehub_v1.projects.locations.rolloutSequences.html b/docs/dyn/gkehub_v1.projects.locations.rolloutSequences.html index c771d2f414..f6d9ccdf1f 100644 --- a/docs/dyn/gkehub_v1.projects.locations.rolloutSequences.html +++ b/docs/dyn/gkehub_v1.projects.locations.rolloutSequences.html @@ -113,7 +113,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -251,7 +251,7 @@

Method Details

Returns: An object of the form: - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -331,7 +331,7 @@

Method Details

{ # Response message for listing rollout sequences. "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "rolloutSequences": [ # The rollout sequences from the specified parent resource. - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -416,7 +416,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", diff --git a/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html b/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html index cbae0f978c..bd2bd1911f 100644 --- a/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html +++ b/docs/dyn/gkehub_v1alpha.projects.locations.rolloutSequences.html @@ -113,7 +113,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -251,7 +251,7 @@

Method Details

Returns: An object of the form: - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -331,7 +331,7 @@

Method Details

{ # Response message for listing rollout sequences. "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "rolloutSequences": [ # The rollout sequences from the specified parent resource. - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -416,7 +416,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", diff --git a/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html b/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html index 44f6fd43b4..8c59ecf096 100644 --- a/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html +++ b/docs/dyn/gkehub_v1beta.projects.locations.rolloutSequences.html @@ -113,7 +113,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -251,7 +251,7 @@

Method Details

Returns: An object of the form: - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -331,7 +331,7 @@

Method Details

{ # Response message for listing rollout sequences. "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "rolloutSequences": [ # The rollout sequences from the specified parent resource. - { # RolloutSequence defines the desired order of upgrades. Next ID: 20 + { # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", @@ -416,7 +416,7 @@

Method Details

body: object, The request body. The object takes the form of: -{ # RolloutSequence defines the desired order of upgrades. Next ID: 20 +{ # RolloutSequence defines the desired order of upgrades. Next ID: 22 "autoUpgradeConfig": { # Configuration for automatic upgrades. # Optional. Configuration for automatic upgrades. If this message is `unset`, the system applies default behavior. "enforcedRollouts": { # Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description. "a_key": "A String", diff --git a/docs/dyn/health_v4.users.dataTypes.dataPoints.html b/docs/dyn/health_v4.users.dataTypes.dataPoints.html index 814ce24aa9..f6c4a453da 100644 --- a/docs/dyn/health_v4.users.dataTypes.dataPoints.html +++ b/docs/dyn/health_v4.users.dataTypes.dataPoints.html @@ -1643,7 +1643,7 @@

Method Details

{ # Request to roll up data points by civil time intervals. "dataSourceFamily": "A String", # Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/{user}/dataSourceFamilies/{data_source_family}` The `{user}` can be either the alias `me` or the authenticated user's numeric Health User ID, retrieved via GetIdentity (e.g. `users/me/dataSourceFamilies/...` or `users/1234567890/dataSourceFamilies/...`). The supported values are: - `users/{user}/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/{user}/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/{user}/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/{user}/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error. - "pageSize": 42, # Optional. The maximum number of data points to return. If unspecified, at most 90 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly. + "pageSize": 42, # Optional. The maximum number of data points to return. If unspecified, at most `90` data points will be returned. The maximum page size is `90`. For `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes`, and `total-calories`, the default and maximum page size is `14`. "pageToken": "A String", # Optional. The next_page_token from a previous request, if any. All other request fields need to be the same as in the initial request when the page token is specified. "range": { # Counterpart of google.type.Interval, but using CivilDateTime. # Required. Closed-open range of data points that will be rolled up. The start time must be aligned with the aggregation window. The maximum range for `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes` and `total-calories` is 14 days. The maximum range for all other data types is 90 days. "end": { # Civil time representation similar to google.type.DateTime, but ensures that neither the timezone nor the UTC offset can be set to avoid confusion between civil and physical time queries. # Required. The exclusive end of the range. diff --git a/docs/dyn/health_v4beta.users.dataTypes.dataPoints.html b/docs/dyn/health_v4beta.users.dataTypes.dataPoints.html index e2cc852b36..166103ee36 100644 --- a/docs/dyn/health_v4beta.users.dataTypes.dataPoints.html +++ b/docs/dyn/health_v4beta.users.dataTypes.dataPoints.html @@ -1672,7 +1672,7 @@

Method Details

{ # Request to roll up data points by civil time intervals. "dataSourceFamily": "A String", # Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/{user}/dataSourceFamilies/{data_source_family}` The `{user}` can be either the alias `me` or the authenticated user's numeric Health User ID, retrieved via GetIdentity (e.g. `users/me/dataSourceFamilies/...` or `users/1234567890/dataSourceFamilies/...`). The supported values are: - `users/{user}/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/{user}/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/{user}/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/{user}/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error. - "pageSize": 42, # Optional. The maximum number of data points to return. If unspecified, at most 90 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly. + "pageSize": 42, # Optional. The maximum number of data points to return. If unspecified, at most `90` data points will be returned. The maximum page size is `90`. For `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes`, and `total-calories`, the default and maximum page size is `14`. "pageToken": "A String", # Optional. The next_page_token from a previous request, if any. All other request fields need to be the same as in the initial request when the page token is specified. "range": { # Counterpart of google.type.Interval, but using CivilDateTime. # Required. Closed-open range of data points that will be rolled up. The start time must be aligned with the aggregation window. The maximum range for `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes` and `total-calories` is 14 days. The maximum range for all other data types is 90 days. "end": { # Civil time representation similar to google.type.DateTime, but ensures that neither the timezone nor the UTC offset can be set to avoid confusion between civil and physical time queries. # Required. The exclusive end of the range. diff --git a/docs/dyn/healthcare_v1.projects.locations.datasets.dicomStores.html b/docs/dyn/healthcare_v1.projects.locations.datasets.dicomStores.html index 29ad710c05..e479846352 100644 --- a/docs/dyn/healthcare_v1.projects.locations.datasets.dicomStores.html +++ b/docs/dyn/healthcare_v1.projects.locations.datasets.dicomStores.html @@ -263,6 +263,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. diff --git a/docs/dyn/healthcare_v1.projects.locations.datasets.fhirStores.html b/docs/dyn/healthcare_v1.projects.locations.datasets.fhirStores.html index cd0c193dec..5c8bb34c47 100644 --- a/docs/dyn/healthcare_v1.projects.locations.datasets.fhirStores.html +++ b/docs/dyn/healthcare_v1.projects.locations.datasets.fhirStores.html @@ -417,6 +417,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -591,6 +599,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -714,6 +730,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -1045,6 +1069,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -1350,6 +1382,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -1542,6 +1582,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. @@ -1716,6 +1764,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. diff --git a/docs/dyn/healthcare_v1.projects.locations.datasets.html b/docs/dyn/healthcare_v1.projects.locations.datasets.html index 022e7e4a82..83b363b835 100644 --- a/docs/dyn/healthcare_v1.projects.locations.datasets.html +++ b/docs/dyn/healthcare_v1.projects.locations.datasets.html @@ -229,6 +229,14 @@

Method Details

], }, "image": { # Specifies how to handle de-identification of image pixels. # Optional. Configures de-identification of image pixels wherever they are found in the source_dataset. + "customRegexes": [ # Optional. Custom regex patterns to redact from the image. + { # Defines a custom regular expression pattern to detect and redact in the image. + "groupIndexes": [ # Optional. The capturing group indexes to redact. + 42, + ], + "pattern": "A String", # Optional. The regular expression pattern to match. + }, + ], "textRedactionMode": "A String", # Optional. Determines how to redact text from image. }, "text": { # Optional. Configures de-identification of text wherever it is found in the source_dataset. diff --git a/docs/dyn/homegraph_v1.devices.html b/docs/dyn/homegraph_v1.devices.html index d3424904bb..487381514b 100644 --- a/docs/dyn/homegraph_v1.devices.html +++ b/docs/dyn/homegraph_v1.devices.html @@ -105,7 +105,7 @@

Method Details

{ # Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. "agentUserId": "A String", # Required. Third-party user ID. - "deviceView": "A String", # Optional. Specifies the type of device data to be returned in the response. This allows callers to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If unspecified, defaults to SMART_HOME_TRAIT_ONLY. + "deviceView": "A String", # Optional. Specifies the type of device data to be returned in the response. This allows callers to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If unspecified, defaults to `SMART_HOME_TRAIT_ONLY`. "includeDeviceMetadata": True or False, # Optional. If true, the response will include device metadata in the device_metadata field. "inputs": [ # Required. Inputs containing third-party device IDs for which to get the device states. { # Device ID inputs to QueryRequest. @@ -143,8 +143,8 @@

Method Details

"a_key": "", # Properties of the object. }, }, - "homeTraitPayload": { # Map of device IDs to their Unified Device Data Model (UDDM) trait payloads. This field is populated when `device_view` is set to HOME_TRAIT_ONLY or HOME_TRAIT_AND_SMART_HOME_TRAIT. - "a_key": { # Container for UDDM trait data associated with a device. + "homeTraitPayload": { # Map of device IDs to their Unified Device Data Model (UDDM) or JSON trait payloads. This field is populated when `device_view` is set to `HOME_TRAIT_ONLY`, `HOME_TRAIT_AND_SMART_HOME_TRAIT`, or `JSON_TRAIT_ONLY`. + "a_key": { # Container for UDDM or JSON trait data associated with a device. "rootComponent": { # Component of a provider device. # The root component of the device as reported by the provider. "childComponents": [ # Optional. Child components. # Object with schema name: Component @@ -195,14 +195,20 @@

Method Details

"deviceId": "A String", # Required. / Unique identifier for the device. "events": [ # Required. List of events for the item. { # Contains a set of events for a specific component. - "componentId": "A String", # Optional. The ID of the provider component if the events are associated with a specific component. Optional for WHDM events, required for UDDM events. + "componentId": "A String", # Optional. The ID of the provider component if the events are associated with a specific component. Optional for WHDM events, required for UDDM and JSON events. "events": [ # Required. List of events associated with the component. { # Contains the details for a single event. - "event": { # Required. The actual event payload. + "event": { # Optional. The actual event payload. "a_key": "", # Properties of the object. Contains field @type with type URL. }, "eventId": "A String", # Required. The unique event ID from the device provider. "eventTime": "A String", # Required. The timestamp of the event. + "jsonTraitEvent": { # Dynamic JSON event payload conforming to `json_trait_schema.md`. # Optional. Contains the dynamic JSON trait event payload. + "data": { # Optional. Event payload fields conforming to the event's registered JSON Schema. + "a_key": "", # Properties of the object. + }, + "id": "A String", # Required. Fully qualified event ID: `.` (e.g., `matter.doorLock.lockOperation`, `ghp.acme.warranty.claimUpdated`). + }, }, ], }, diff --git a/docs/dyn/iam_v1.roles.html b/docs/dyn/iam_v1.roles.html index 7508171563..99f4596ea5 100644 --- a/docs/dyn/iam_v1.roles.html +++ b/docs/dyn/iam_v1.roles.html @@ -188,7 +188,7 @@

Method Details

{ # The grantable role query request. "fullResourceName": "A String", # Required. Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. - "pageSize": 42, # Optional limit on the number of roles to include in the response. The default is 300, and the maximum is 2,000. + "pageSize": 42, # Optional limit on the number of roles to include in the response. The default is 300, and the maximum is 3,000. "pageToken": "A String", # Optional pagination token returned in an earlier QueryGrantableRolesResponse. "view": "A String", } diff --git a/docs/dyn/index.md b/docs/dyn/index.md index 11d3c0a9c1..445cd68346 100644 --- a/docs/dyn/index.md +++ b/docs/dyn/index.md @@ -563,6 +563,7 @@ ## devicerun +* [v1](http://googleapis.github.io/google-api-python-client/docs/dyn/devicerun_v1.html) * [v1alpha](http://googleapis.github.io/google-api-python-client/docs/dyn/devicerun_v1alpha.html) diff --git a/docs/dyn/integrations_v1.projects.locations.integrations.executions.html b/docs/dyn/integrations_v1.projects.locations.integrations.executions.html index 00a5b6b119..b81646afb5 100644 --- a/docs/dyn/integrations_v1.projects.locations.integrations.executions.html +++ b/docs/dyn/integrations_v1.projects.locations.integrations.executions.html @@ -581,11 +581,11 @@

Method Details

filterParams_endTime: string, End timestamp. filterParams_eventStatuses: string, List of possible event statuses. (repeated) filterParams_executionId: string, Execution id. - filterParams_parameterKey: string, Param key. DEPRECATED. User parameter_pair_key instead. + filterParams_parameterKey: string, Param key. DEPRECATED. Use parameter_pair_key instead. filterParams_parameterPairKey: string, Param key in the key value pair filter. filterParams_parameterPairValue: string, Param value in the key value pair filter. filterParams_parameterType: string, Param type. - filterParams_parameterValue: string, Param value. DEPRECATED. User parameter_pair_value instead. + filterParams_parameterValue: string, Param value. DEPRECATED. Use parameter_pair_value instead. filterParams_startTime: string, Start timestamp. filterParams_taskStatuses: string, List of possible task statuses. (repeated) filterParams_workflowName: string, Workflow name. diff --git a/docs/dyn/integrations_v1.projects.locations.products.integrations.executions.html b/docs/dyn/integrations_v1.projects.locations.products.integrations.executions.html index 43b20e2f78..37bf094504 100644 --- a/docs/dyn/integrations_v1.projects.locations.products.integrations.executions.html +++ b/docs/dyn/integrations_v1.projects.locations.products.integrations.executions.html @@ -549,11 +549,11 @@

Method Details

filterParams_endTime: string, End timestamp. filterParams_eventStatuses: string, List of possible event statuses. (repeated) filterParams_executionId: string, Execution id. - filterParams_parameterKey: string, Param key. DEPRECATED. User parameter_pair_key instead. + filterParams_parameterKey: string, Param key. DEPRECATED. Use parameter_pair_key instead. filterParams_parameterPairKey: string, Param key in the key value pair filter. filterParams_parameterPairValue: string, Param value in the key value pair filter. filterParams_parameterType: string, Param type. - filterParams_parameterValue: string, Param value. DEPRECATED. User parameter_pair_value instead. + filterParams_parameterValue: string, Param value. DEPRECATED. Use parameter_pair_value instead. filterParams_startTime: string, Start timestamp. filterParams_taskStatuses: string, List of possible task statuses. (repeated) filterParams_workflowName: string, Workflow name. diff --git a/docs/dyn/merchantapi_reports_v1.accounts.reports.html b/docs/dyn/merchantapi_reports_v1.accounts.reports.html index 746018d87c..4f2641bf19 100644 --- a/docs/dyn/merchantapi_reports_v1.accounts.reports.html +++ b/docs/dyn/merchantapi_reports_v1.accounts.reports.html @@ -300,6 +300,7 @@

Method Details

}, "impressions": "A String", # Number of times merchant's products are shown. Metric. "marketingMethod": "A String", # Marketing method to which metrics apply. Segment. + "network": "A String", # Network to which metrics apply. Segment. "offerId": "A String", # Merchant-provided id of the product. Segment. "productTypeL1": "A String", # [Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment. "productTypeL2": "A String", # [Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment. diff --git a/docs/dyn/merchantapi_reports_v1beta.accounts.reports.html b/docs/dyn/merchantapi_reports_v1beta.accounts.reports.html index 55bc1bb6c1..7f2123c53b 100644 --- a/docs/dyn/merchantapi_reports_v1beta.accounts.reports.html +++ b/docs/dyn/merchantapi_reports_v1beta.accounts.reports.html @@ -300,6 +300,7 @@

Method Details

}, "impressions": "A String", # Number of times merchant's products are shown. Metric. "marketingMethod": "A String", # Marketing method to which metrics apply. Segment. + "network": "A String", # Network to which metrics apply. Segment. "offerId": "A String", # Merchant-provided id of the product. Segment. "productTypeL1": "A String", # [Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment. "productTypeL2": "A String", # [Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment. diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.html b/docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.html index 8218ef54b8..44e9d6a5c1 100644 --- a/docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.html +++ b/docs/dyn/networkconnectivity_v1.projects.locations.global_.hubs.html @@ -244,6 +244,10 @@

Method Details

"createTime": "A String", # Output only. The time the hub was created. "description": "A String", # Optional. An optional description of the hub. "exportPsc": True or False, # Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. + "exportPscConfig": { # Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints. # Optional. Config for more granular control of Private Service Connect transitivity. + "globalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false. + "publishedServicesAndRegionalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false. + }, "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, @@ -369,6 +373,10 @@

Method Details

"createTime": "A String", # Output only. The time the hub was created. "description": "A String", # Optional. An optional description of the hub. "exportPsc": True or False, # Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. + "exportPscConfig": { # Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints. # Optional. Config for more granular control of Private Service Connect transitivity. + "globalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false. + "publishedServicesAndRegionalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false. + }, "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, @@ -482,6 +490,10 @@

Method Details

"createTime": "A String", # Output only. The time the hub was created. "description": "A String", # Optional. An optional description of the hub. "exportPsc": True or False, # Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. + "exportPscConfig": { # Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints. # Optional. Config for more granular control of Private Service Connect transitivity. + "globalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false. + "publishedServicesAndRegionalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false. + }, "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, @@ -737,6 +749,10 @@

Method Details

"createTime": "A String", # Output only. The time the hub was created. "description": "A String", # Optional. An optional description of the hub. "exportPsc": True or False, # Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false. + "exportPscConfig": { # Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints. # Optional. Config for more granular control of Private Service Connect transitivity. + "globalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false. + "publishedServicesAndRegionalGoogleApis": True or False, # Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false. + }, "labels": { # Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). "a_key": "A String", }, diff --git a/docs/dyn/networkmanagement_v1.projects.locations.networkMonitoringProviders.monitoringPoints.html b/docs/dyn/networkmanagement_v1.projects.locations.networkMonitoringProviders.monitoringPoints.html index 28cee46108..21c6a78004 100644 --- a/docs/dyn/networkmanagement_v1.projects.locations.networkMonitoringProviders.monitoringPoints.html +++ b/docs/dyn/networkmanagement_v1.projects.locations.networkMonitoringProviders.monitoringPoints.html @@ -78,7 +78,7 @@

Instance Methods

close()

Close httplib2 connections.

- downloadInstallScript(parent, hostname=None, monitoringPointType=None, ntpServerAddress=None, ntpServerSecondaryAddress=None, privateConnectivityEnabled=None, staticIpAddress_dnsServerAddress=None, staticIpAddress_dnsServerSecondaryAddress=None, staticIpAddress_domain=None, staticIpAddress_gatewayAddress=None, staticIpAddress_ipAddress=None, staticIpAddress_netmask=None, timeZone_id=None, timeZone_version=None, useDhcp=None, x__xgafv=None, x_password=None)

+ downloadInstallScript(parent, cloudDeploymentType=None, hostname=None, monitoringPointType=None, ntpServerAddress=None, ntpServerSecondaryAddress=None, privateConnectivityEnabled=None, staticIpAddress_dnsServerAddress=None, staticIpAddress_dnsServerSecondaryAddress=None, staticIpAddress_domain=None, staticIpAddress_gatewayAddress=None, staticIpAddress_ipAddress=None, staticIpAddress_netmask=None, timeZone_id=None, timeZone_version=None, useDhcp=None, x__xgafv=None, x_password=None)

Downloads an install script for MonitoringPoints for a given network monitoring provider.

downloadRecreateInstallScript(name, hostname=None, x__xgafv=None)

@@ -102,11 +102,17 @@

Method Details

- downloadInstallScript(parent, hostname=None, monitoringPointType=None, ntpServerAddress=None, ntpServerSecondaryAddress=None, privateConnectivityEnabled=None, staticIpAddress_dnsServerAddress=None, staticIpAddress_dnsServerSecondaryAddress=None, staticIpAddress_domain=None, staticIpAddress_gatewayAddress=None, staticIpAddress_ipAddress=None, staticIpAddress_netmask=None, timeZone_id=None, timeZone_version=None, useDhcp=None, x__xgafv=None, x_password=None) + downloadInstallScript(parent, cloudDeploymentType=None, hostname=None, monitoringPointType=None, ntpServerAddress=None, ntpServerSecondaryAddress=None, privateConnectivityEnabled=None, staticIpAddress_dnsServerAddress=None, staticIpAddress_dnsServerSecondaryAddress=None, staticIpAddress_domain=None, staticIpAddress_gatewayAddress=None, staticIpAddress_ipAddress=None, staticIpAddress_netmask=None, timeZone_id=None, timeZone_version=None, useDhcp=None, x__xgafv=None, x_password=None)
Downloads an install script for MonitoringPoints for a given network monitoring provider.
 
 Args:
   parent: string, Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} (required)
+  cloudDeploymentType: string, Optional. The deployment type for Cloud Monitoring Points.
+    Allowed values
+      CLOUD_DEPLOYMENT_TYPE_UNSPECIFIED - Default value. If unspecified, defaults to `TERRAFORM` for `GCE_VM`, `BICEP` for `AZURE_VM`, and `CLOUD_FORMATION` for `AWS_EC2`.
+      TERRAFORM - Deploys using Terraform.
+      CLOUD_FORMATION - Deploys using AWS Cloud Formation. Supported only for `AWS_EC2` deployments.
+      BICEP - Deploys using Azure Bicep. Supported only for `AZURE_VM` deployments.
   hostname: string, Required. The hostname of the MonitoringPoint, e.g. "test-vm"
   monitoringPointType: string, Required. The type of the monitoring point.
     Allowed values
diff --git a/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html
index cb294a7a80..e1be534aeb 100644
--- a/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html
+++ b/docs/dyn/networkservices_v1.projects.locations.lbEdgeExtensions.html
@@ -115,7 +115,7 @@ 

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -132,7 +132,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -242,7 +242,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -259,7 +259,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -309,7 +309,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -326,7 +326,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -385,7 +385,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -402,7 +402,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html index ba4555b7b0..b0f84e0615 100644 --- a/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.lbRouteExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -132,7 +132,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -245,7 +245,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -262,7 +262,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -315,7 +315,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -332,7 +332,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -394,7 +394,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -411,7 +411,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html b/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html index 4aab35a078..b0bb10214c 100644 --- a/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html +++ b/docs/dyn/networkservices_v1.projects.locations.lbTrafficExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -132,7 +132,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -245,7 +245,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -262,7 +262,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -315,7 +315,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -332,7 +332,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -394,7 +394,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. "failOpen": True or False, # Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset. @@ -411,7 +411,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1.projects.locations.serviceLbPolicies.html b/docs/dyn/networkservices_v1.projects.locations.serviceLbPolicies.html index 50a72c2eb1..5133d95439 100644 --- a/docs/dyn/networkservices_v1.projects.locations.serviceLbPolicies.html +++ b/docs/dyn/networkservices_v1.projects.locations.serviceLbPolicies.html @@ -110,8 +110,8 @@

Method Details

body: object, The request body. The object takes the form of: -{ # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. +{ # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -210,8 +210,8 @@

Method Details

Returns: An object of the form: - { # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. + { # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -251,8 +251,8 @@

Method Details

{ # Response returned by the ListServiceLbPolicies method. "nextPageToken": "A String", # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. "serviceLbPolicies": [ # List of ServiceLbPolicy resources. - { # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. + { # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -301,8 +301,8 @@

Method Details

body: object, The request body. The object takes the form of: -{ # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. +{ # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.cdnEdgeExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.cdnEdgeExtensions.html index 1ed809464f..3254834541 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.cdnEdgeExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.cdnEdgeExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -133,7 +133,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -244,7 +244,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -262,7 +262,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -313,7 +313,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -331,7 +331,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -391,7 +391,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -409,7 +409,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html index 148c222248..46e221bf72 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbEdgeExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -133,7 +133,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -243,7 +243,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -261,7 +261,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -311,7 +311,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -329,7 +329,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -388,7 +388,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -406,7 +406,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html index 09857fe419..a428fe6281 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbRouteExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -133,7 +133,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -246,7 +246,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -264,7 +264,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -317,7 +317,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -335,7 +335,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -397,7 +397,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -415,7 +415,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html index ff9f75c560..794bf3774f 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbTcpExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 1 extension chain per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -133,7 +133,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -243,7 +243,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 1 extension chain per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -261,7 +261,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -311,7 +311,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 1 extension chain per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -329,7 +329,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -388,7 +388,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 1 extension chain per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -406,7 +406,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html b/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html index 7255a8b5a6..0a915c5d8c 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.lbTrafficExtensions.html @@ -115,7 +115,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -133,7 +133,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -246,7 +246,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -264,7 +264,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -317,7 +317,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -335,7 +335,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], @@ -397,7 +397,7 @@

Method Details

"description": "A String", # Optional. A human-readable description of the resource. "extensionChains": [ # Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource. { # A single extension chain wrapper that contains the match conditions and extensions to execute. - "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. + "extensions": [ # Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain. { # A single extension in the chain to execute for the matching request. "allowDynamicForwarding": True or False, # Optional. When set to `TRUE`, the response from an extension service is allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata. This field is not supported for plugin extensions or AuthzExtensions. Setting it results in a validation error. "authority": "A String", # Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. Required for Callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error. @@ -415,7 +415,7 @@

Method Details

"observabilityMode": True or False, # Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. "requestBodySendMode": "A String", # Optional. Configures the send mode for request body processing. The field can only be set if `supported_events` includes `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `LbRouteExtension` resources, and only when the `service` field of the extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources. "responseBodySendMode": "A String", # Optional. Configures the send mode for response processing. If unspecified, the default value `STREAMED` is used. The field can only be set if `supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension` resources, and only when the `service` field of the extension points to a `BackendService`. - "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources. + "service": "A String", # Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources. "supportedEvents": [ # Optional. A set of events during request or response processing for which this extension is called. For the `LbTrafficExtension` resource, this field is required. For the `LbRouteExtension` resource, this field is optional. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `LbEdgeExtension` resource, this field is required and must only contain `REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `CdnEdgeExtension` resource, this field is optional. Eligible values are `REQUEST_HEADERS` and `RESPONSE_HEADERS`. If unspecified, both are assumed as supported. "A String", ], diff --git a/docs/dyn/networkservices_v1beta1.projects.locations.serviceLbPolicies.html b/docs/dyn/networkservices_v1beta1.projects.locations.serviceLbPolicies.html index a63e46cd0f..f1e20206bb 100644 --- a/docs/dyn/networkservices_v1beta1.projects.locations.serviceLbPolicies.html +++ b/docs/dyn/networkservices_v1beta1.projects.locations.serviceLbPolicies.html @@ -110,8 +110,8 @@

Method Details

body: object, The request body. The object takes the form of: -{ # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. +{ # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -210,8 +210,8 @@

Method Details

Returns: An object of the form: - { # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. + { # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -251,8 +251,8 @@

Method Details

{ # Response returned by the ListServiceLbPolicies method. "nextPageToken": "A String", # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. "serviceLbPolicies": [ # List of ServiceLbPolicy resources. - { # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. + { # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. @@ -301,8 +301,8 @@

Method Details

body: object, The request body. The object takes the form of: -{ # ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService. - "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. +{ # ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService. + "autoCapacityDrain": { # Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing. # Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the associated Backend Service. "enable": True or False, # Optional. If set to 'True', an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service. }, "createTime": "A String", # Output only. The timestamp when this resource was created. diff --git a/docs/dyn/observability_v1.projects.locations.scopes.html b/docs/dyn/observability_v1.projects.locations.scopes.html index 805102d453..67da8607f0 100644 --- a/docs/dyn/observability_v1.projects.locations.scopes.html +++ b/docs/dyn/observability_v1.projects.locations.scopes.html @@ -104,9 +104,9 @@

Method Details

An object of the form: { # Message describing Scope object - "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope + "logScope": "A String", # Required. The full resource name of the `logging.googleapis.com/LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`. - "traceScope": "A String", # Required. The resource name of the `TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope + "traceScope": "A String", # Required. The unqualified resource name of the `cloudtrace.googleapis.com/TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. }
@@ -121,9 +121,9 @@

Method Details

The object takes the form of: { # Message describing Scope object - "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope + "logScope": "A String", # Required. The full resource name of the `logging.googleapis.com/LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`. - "traceScope": "A String", # Required. The resource name of the `TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope + "traceScope": "A String", # Required. The unqualified resource name of the `cloudtrace.googleapis.com/TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. } @@ -137,9 +137,9 @@

Method Details

An object of the form: { # Message describing Scope object - "logScope": "A String", # Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope + "logScope": "A String", # Required. The full resource name of the `logging.googleapis.com/LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope "name": "A String", # Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`. - "traceScope": "A String", # Required. The resource name of the `TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope + "traceScope": "A String", # Required. The unqualified resource name of the `cloudtrace.googleapis.com/TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope "updateTime": "A String", # Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset. }
diff --git a/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html b/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html index 6c4c9f5f26..fd29c19970 100644 --- a/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html +++ b/docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html @@ -968,6 +968,20 @@

Method Details

"vulnerableSystemIntegrityImpact": "A String", # Vulnerable System Integrity Impact (VI). Defined in CVSS v4. }, "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. + "exploitability": { # Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location. # Output only. Rollup of exploitability across all PackageIssues in this occurrence. + "signals": [ # Individual exploitability signals from various sources. + { # A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis). + "rationale": "A String", # Human-readable explanation of this signal. + "source": "A String", # Identifier of the signal source. + "vexJustification": "A String", # Justification for why the vulnerability is not exploitable. + "vexStatus": "A String", # The VEX status asserted by this signal. + }, + ], + "summary": { # Rollup summary of exploitability across signals. # Rollup summary of the exploitability signals. + "rationale": "A String", # Human-readable explanation of the summary. + "vexStatus": "A String", # The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status. + }, + }, "extraDetails": "A String", # Occurrence-specific extra details about the vulnerability. "fixAvailable": True or False, # Output only. Whether at least one of the affected packages has a fix available. "longDescription": "A String", # Output only. A detailed description of this vulnerability. @@ -984,6 +998,20 @@

Method Details

"revision": "A String", # The iteration of the package build from the above version. }, "effectiveSeverity": "A String", # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. + "exploitability": { # Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location. # Output only. Exploitability signals and summary for this package issue. + "signals": [ # Individual exploitability signals from various sources. + { # A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis). + "rationale": "A String", # Human-readable explanation of this signal. + "source": "A String", # Identifier of the signal source. + "vexJustification": "A String", # Justification for why the vulnerability is not exploitable. + "vexStatus": "A String", # The VEX status asserted by this signal. + }, + ], + "summary": { # Rollup summary of exploitability across signals. # Rollup summary of the exploitability signals. + "rationale": "A String", # Human-readable explanation of the summary. + "vexStatus": "A String", # The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status. + }, + }, "fileLocation": [ # The location at which this package was found. { # Indicates the location at which a package was found. "filePath": "A String", # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. diff --git a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html index cda68993c3..09b8e10af7 100644 --- a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html +++ b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html @@ -968,6 +968,20 @@

Method Details

"vulnerableSystemIntegrityImpact": "A String", # Vulnerable System Integrity Impact (VI). Defined in CVSS v4. }, "effectiveSeverity": "A String", # The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. + "exploitability": { # Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location. # Output only. Rollup of exploitability across all PackageIssues in this occurrence. + "signals": [ # Individual exploitability signals from various sources. + { # A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis). + "rationale": "A String", # Human-readable explanation of this signal. + "source": "A String", # Identifier of the signal source. + "vexJustification": "A String", # Justification for why the vulnerability is not exploitable. + "vexStatus": "A String", # The VEX status asserted by this signal. + }, + ], + "summary": { # Rollup summary of exploitability across signals. # Rollup summary of the exploitability signals. + "rationale": "A String", # Human-readable explanation of the summary. + "vexStatus": "A String", # The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status. + }, + }, "extraDetails": "A String", # Occurrence-specific extra details about the vulnerability. "fixAvailable": True or False, # Output only. Whether at least one of the affected packages has a fix available. "longDescription": "A String", # Output only. A detailed description of this vulnerability. @@ -984,6 +998,20 @@

Method Details

"revision": "A String", # The iteration of the package build from the above version. }, "effectiveSeverity": "A String", # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. + "exploitability": { # Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location. # Output only. Exploitability signals and summary for this package issue. + "signals": [ # Individual exploitability signals from various sources. + { # A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis). + "rationale": "A String", # Human-readable explanation of this signal. + "source": "A String", # Identifier of the signal source. + "vexJustification": "A String", # Justification for why the vulnerability is not exploitable. + "vexStatus": "A String", # The VEX status asserted by this signal. + }, + ], + "summary": { # Rollup summary of exploitability across signals. # Rollup summary of the exploitability signals. + "rationale": "A String", # Human-readable explanation of the summary. + "vexStatus": "A String", # The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status. + }, + }, "fileLocation": [ # The location at which this package was found. { # Indicates the location at which a package was found. "filePath": "A String", # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. diff --git a/docs/dyn/oracledatabase_v1.projects.locations.databaseConnections.html b/docs/dyn/oracledatabase_v1.projects.locations.databaseConnections.html index 2302295cd7..9d4a2c8f7b 100644 --- a/docs/dyn/oracledatabase_v1.projects.locations.databaseConnections.html +++ b/docs/dyn/oracledatabase_v1.projects.locations.databaseConnections.html @@ -237,7 +237,6 @@

Method Details

}, "sqlResults": [ # SqlResult represents the results for the execution of sql statements. { # SqlResult represents the result for the execution of a sql statement. - "affectedRowCount": "A String", # Optional. The number of rows affected by DML statements (e.g., INSERT, UPDATE, DELETE, MERGE). Unset or 0 for SELECT / DDL statements. "columns": [ # List of columns included in the result, including data type. { # Contains the name and datatype of a column in a SQL Result. "name": "A String", # Required. Name of the column. diff --git a/docs/dyn/oracledatabase_v1.projects.locations.odbNetworks.odbDnsZones.html b/docs/dyn/oracledatabase_v1.projects.locations.odbNetworks.odbDnsZones.html index db41944b57..2f41dc0d05 100644 --- a/docs/dyn/oracledatabase_v1.projects.locations.odbNetworks.odbDnsZones.html +++ b/docs/dyn/oracledatabase_v1.projects.locations.odbNetworks.odbDnsZones.html @@ -109,7 +109,7 @@

Method Details

{ # Represents OdbDnsZone resource. "createTime": "A String", # Output only. The date and time that the OdbDnsZone was created. - "domain": "A String", # Required. The DNS suffix for the zone. Ex: abc.example.com. + "domain": "A String", # Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com. "labels": { # Optional. Labels or tags associated with the resource. "a_key": "A String", }, @@ -200,7 +200,7 @@

Method Details

{ # Represents OdbDnsZone resource. "createTime": "A String", # Output only. The date and time that the OdbDnsZone was created. - "domain": "A String", # Required. The DNS suffix for the zone. Ex: abc.example.com. + "domain": "A String", # Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com. "labels": { # Optional. Labels or tags associated with the resource. "a_key": "A String", }, @@ -232,7 +232,7 @@

Method Details

"odbDnsZones": [ # The list of OdbDnsZones. { # Represents OdbDnsZone resource. "createTime": "A String", # Output only. The date and time that the OdbDnsZone was created. - "domain": "A String", # Required. The DNS suffix for the zone. Ex: abc.example.com. + "domain": "A String", # Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com. "labels": { # Optional. Labels or tags associated with the resource. "a_key": "A String", }, diff --git a/docs/dyn/places_v1.places.html b/docs/dyn/places_v1.places.html index 399b3e0f55..8ad29eecdf 100644 --- a/docs/dyn/places_v1.places.html +++ b/docs/dyn/places_v1.places.html @@ -110,7 +110,7 @@

Method Details

"includeFutureOpeningBusinesses": True or False, # Optional. If true, include businesses that are not yet open but will open in the future. "includePureServiceAreaBusinesses": True or False, # Optional. Include pure service area businesses if the field is set to true. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical address or location on Google Maps. Places will not return fields including `location`, `plus_code`, and other location related fields for these businesses. "includeQueryPredictions": True or False, # Optional. If true, the response will include both Place and query predictions. Otherwise the response will only return Place predictions. - "includedPrimaryTypes": [ # Optional. Included primary Place type (for example, "restaurant" or "gas_station") in Place Types (https://developers.google.com/maps/documentation/places/web-service/place-types), or only `(regions)`, or only `(cities)`. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned. + "includedPrimaryTypes": [ # Optional. Included primary Place type (for example, "restaurant" or "gas_station") in [Place Types](https://developers.google.com/maps/documentation/places/web-service/place-types), or only `(regions)`, or only `(cities)`. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned. "A String", ], "includedRegionCodes": [ # Optional. Only include results in the specified regions, specified as up to 15 CLDR two-character region codes. An empty set will not restrict the results. If both `location_restriction` and `included_region_codes` are set, the results will be located in the area of intersection. @@ -516,13 +516,13 @@

Method Details

"fuelOptions": { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly. "fuelPrices": [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important. { # Fuel price information for a given type. - "price": { # Represents an amount of money with its currency type. # The price of the fuel. + "price": { # Represents an amount of money with its currency type. # The price of the fuel. The price is per US liquid gallon in the United States, and per liter elsewhere. Prices do not distinguish between payment methods (cash or credit). When a station offers multiple prices for the same `FuelType`, the API returns the standard (highest) price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "type": "A String", # The type of fuel. - "updateTime": "A String", # The time the fuel price was last updated. + "updateTime": "A String", # The time the fuel price was last updated. This represents the time when the specific fuel price offer was last observed or updated by the data provider. }, ], }, @@ -1238,13 +1238,13 @@

Method Details

"fuelOptions": { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly. "fuelPrices": [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important. { # Fuel price information for a given type. - "price": { # Represents an amount of money with its currency type. # The price of the fuel. + "price": { # Represents an amount of money with its currency type. # The price of the fuel. The price is per US liquid gallon in the United States, and per liter elsewhere. Prices do not distinguish between payment methods (cash or credit). When a station offers multiple prices for the same `FuelType`, the API returns the standard (highest) price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "type": "A String", # The type of fuel. - "updateTime": "A String", # The time the fuel price was last updated. + "updateTime": "A String", # The time the fuel price was last updated. This represents the time when the specific fuel price offer was last observed or updated by the data provider. }, ], }, @@ -2100,13 +2100,13 @@

Method Details

"fuelOptions": { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly. "fuelPrices": [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important. { # Fuel price information for a given type. - "price": { # Represents an amount of money with its currency type. # The price of the fuel. + "price": { # Represents an amount of money with its currency type. # The price of the fuel. The price is per US liquid gallon in the United States, and per liter elsewhere. Prices do not distinguish between payment methods (cash or credit). When a station offers multiple prices for the same `FuelType`, the API returns the standard (highest) price. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, "type": "A String", # The type of fuel. - "updateTime": "A String", # The time the fuel price was last updated. + "updateTime": "A String", # The time the fuel price was last updated. This represents the time when the specific fuel price offer was last observed or updated by the data provider. }, ], }, diff --git a/docs/dyn/pubsub_v1.projects.snapshots.html b/docs/dyn/pubsub_v1.projects.snapshots.html index eb7cd90e04..94255978e3 100644 --- a/docs/dyn/pubsub_v1.projects.snapshots.html +++ b/docs/dyn/pubsub_v1.projects.snapshots.html @@ -79,10 +79,10 @@

Instance Methods

Close httplib2 connections.

create(name, body=None, x__xgafv=None)

-

Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.

+

Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.

delete(snapshot, x__xgafv=None)

-

Removes an existing snapshot. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.

+

Removes an existing snapshot. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.

get(snapshot, x__xgafv=None)

Gets the configuration details of a snapshot. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.

@@ -112,7 +112,7 @@

Method Details

create(name, body=None, x__xgafv=None) -
Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.
+  
Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.
 
 Args:
   name: string, Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is `projects/{project}/snapshots/{snap}`. (required)
@@ -139,7 +139,7 @@ 

Method Details

{ # A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. "expireTime": "A String", # Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "name": "A String", # Optional. The name of the snapshot. @@ -149,7 +149,7 @@

Method Details

delete(snapshot, x__xgafv=None) -
Removes an existing snapshot. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.
+  
Removes an existing snapshot. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.
 
 Args:
   snapshot: string, Required. The name of the snapshot to delete. Format is `projects/{project}/snapshots/{snap}`. (required)
@@ -181,7 +181,7 @@ 

Method Details

{ # A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. "expireTime": "A String", # Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "name": "A String", # Optional. The name of the snapshot. @@ -245,7 +245,7 @@

Method Details

"snapshots": [ # Optional. The resulting snapshots. { # A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. "expireTime": "A String", # Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "name": "A String", # Optional. The name of the snapshot. @@ -281,7 +281,7 @@

Method Details

{ # Request for the UpdateSnapshot method. "snapshot": { # A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. # Required. The updated snapshot object. "expireTime": "A String", # Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "name": "A String", # Optional. The name of the snapshot. @@ -300,7 +300,7 @@

Method Details

{ # A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. "expireTime": "A String", # Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "name": "A String", # Optional. The name of the snapshot. diff --git a/docs/dyn/pubsub_v1.projects.subscriptions.html b/docs/dyn/pubsub_v1.projects.subscriptions.html index f8076ded49..990f761edd 100644 --- a/docs/dyn/pubsub_v1.projects.subscriptions.html +++ b/docs/dyn/pubsub_v1.projects.subscriptions.html @@ -82,7 +82,7 @@

Instance Methods

Close httplib2 connections.

create(name, body, x__xgafv=None)

-

Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.

+

Creates a subscription to a given topic. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.

delete(subscription, x__xgafv=None)

Deletes an existing subscription. All messages retained in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription or its topic unless the same topic is specified.

@@ -115,7 +115,7 @@

Instance Methods

Pulls messages from the server.

seek(subscription, body=None, x__xgafv=None)

-

Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.

+

Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.

setIamPolicy(resource, body=None, x__xgafv=None)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

@@ -157,7 +157,7 @@

Method Details

create(name, body, x__xgafv=None) -
Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.
+  
Creates a subscription to a given topic. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.
 
 Args:
   name: string, Required. Identifier. The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. (required)
@@ -263,11 +263,11 @@ 

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -387,11 +387,11 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -554,11 +554,11 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -725,11 +725,11 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -808,7 +808,7 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, @@ -935,11 +935,11 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -1061,11 +1061,11 @@

Method Details

"audience": "A String", # Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. "serviceAccountEmail": "A String", # Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push). }, - "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + "pubsubWrapper": { # The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). # Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). }, "pushEndpoint": "A String", # Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`. }, - "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. + "retainAckedMessages": True or False, # Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages. "retryPolicy": { # A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. # Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. "maximumBackoff": "A String", # Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. "minimumBackoff": "A String", # Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. @@ -1106,7 +1106,7 @@

Method Details

{ # A message and its corresponding acknowledgment ID. "ackId": "A String", # Optional. This ID can be used to acknowledge the received message. "deliveryAttempt": 42, # Optional. The approximate number of times that Pub/Sub has attempted to deliver the associated message to a subscriber. More precisely, this is 1 + (number of NACKs) + (number of ack_deadline exceeds) for this message. A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline exceeds event is whenever a message is not acknowledged within ack_deadline. Note that ack_deadline is initially Subscription.ackDeadlineSeconds, but may get extended automatically by the client library. Upon the first delivery of a given message, `delivery_attempt` will have a value of 1. The value is calculated at best effort and is approximate. If a DeadLetterPolicy is not set on the subscription, this will be 0. - "message": { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits. # Optional. The message. + "message": { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits. # Optional. The message. "attributes": { # Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. "a_key": "A String", }, @@ -1122,7 +1122,7 @@

Method Details

seek(subscription, body=None, x__xgafv=None) -
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.
+  
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.
 
 Args:
   subscription: string, Required. The subscription to affect. (required)
diff --git a/docs/dyn/pubsub_v1.projects.topics.html b/docs/dyn/pubsub_v1.projects.topics.html
index bd285548f2..51debebc80 100644
--- a/docs/dyn/pubsub_v1.projects.topics.html
+++ b/docs/dyn/pubsub_v1.projects.topics.html
@@ -89,7 +89,7 @@ 

Instance Methods

Close httplib2 connections.

create(name, body, x__xgafv=None)

-

Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).

+

Creates the given topic with the given name. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).

delete(topic, x__xgafv=None)

Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.

@@ -125,7 +125,7 @@

Method Details

create(name, body, x__xgafv=None) -
Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
+  
Creates the given topic with the given name. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
 
 Args:
   name: string, Required. Identifier. The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. (required)
@@ -161,7 +161,7 @@ 

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -184,7 +184,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -268,7 +268,7 @@

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -291,7 +291,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -400,7 +400,7 @@

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -423,7 +423,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -554,7 +554,7 @@

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -577,7 +577,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -680,7 +680,7 @@

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -703,7 +703,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -789,7 +789,7 @@

Method Details

"cloudStorage": { # Ingestion settings for Cloud Storage. # Optional. Cloud Storage. "avroFormat": { # Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message. # Optional. Data from Cloud Storage will be interpreted in Avro format. }, - "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming). + "bucket": "A String", # Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming). "matchGlob": "A String", # Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). "minimumObjectCreateTime": "A String", # Optional. Only objects with a larger or equal creation timestamp will be ingested. "pubsubAvroFormat": { # Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing. # Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). @@ -812,7 +812,7 @@

Method Details

}, }, "kmsKeyName": "A String", # Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - "labels": { # Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels). + "labels": { # Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels). "a_key": "A String", }, "messageRetentionDuration": "A String", # Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes. @@ -871,7 +871,7 @@

Method Details

{ # Request for the Publish method. "messages": [ # Required. The messages to publish. - { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits. + { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits. "attributes": { # Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. "a_key": "A String", }, diff --git a/docs/dyn/recaptchaenterprise_v1.projects.assessments.html b/docs/dyn/recaptchaenterprise_v1.projects.assessments.html index c4dd41b561..313908e3a0 100644 --- a/docs/dyn/recaptchaenterprise_v1.projects.assessments.html +++ b/docs/dyn/recaptchaenterprise_v1.projects.assessments.html @@ -362,7 +362,7 @@

Method Details

"verifiedBots": [ # Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event. { # Bot information and metadata. "botType": "A String", # Optional. Enumerated field representing the type of bot. - "name": "A String", # Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive. + "name": "A String", # Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive. }, ], }, @@ -614,7 +614,7 @@

Method Details

"verifiedBots": [ # Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event. { # Bot information and metadata. "botType": "A String", # Optional. Enumerated field representing the type of bot. - "name": "A String", # Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive. + "name": "A String", # Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive. }, ], }, diff --git a/docs/dyn/recaptchaenterprise_v1.projects.keys.html b/docs/dyn/recaptchaenterprise_v1.projects.keys.html index 345b082029..5da1bfeed8 100644 --- a/docs/dyn/recaptchaenterprise_v1.projects.keys.html +++ b/docs/dyn/recaptchaenterprise_v1.projects.keys.html @@ -466,7 +466,7 @@

Method Details

"protectedEndpoints": [ # Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used. { # Configuration for an API endpoint to protect with reCAPTCHA. "action": "A String", # Required. Action name to be used for token generation for this endpoint. The action name can only contain alphanumeric characters, slashes, and underscores. - "path": "A String", # Required. URI path of the API endpoint to protect. Must start with '/'. Supports glob characters '*' to match a single path segment and '**' to match multiple path segments. Standalone root catch-alls ('/*' and '/**') are invalid because it can negatively impact performance to trigger reCAPTCHA on every single request to your backend. Matching is evaluated against the URL path only (domain, scheme, and query parameters are ignored). Examples: - `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. - `/products/*` matches `/products/123`, but not `/products/123/456`. - `/content/**` matches `/content/articles/2024/01/01`. + "path": "A String", # Required. The URI path of the API endpoint to protect. The path is case-sensitive and must meet the following criteria: * Be unique, start with `/`, and contain 1 to 200 characters without consecutive slashes (`//`). * Include at least one non-wildcard segment. For example, cannot be `/`, `/*`, `/**`, or `/*/`. * Wildcards must occupy complete segments: `*` matches a single segment. For example, `/api/*/login` or `/api/*` are valid; `/api/login*` is invalid, and `**` matches multiple segments as the final segment only. For example, `/api/**` is valid; `/api/**/login` is invalid. Matching is evaluated against the URL path only. Domain, scheme, and query parameters are ignored. Examples: * `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. * `/products/*` matches `/products/123`, but not `/products/123/456`. * `/content/**` matches `/content/articles/2024/01/01`. }, ], }, @@ -907,7 +907,7 @@

Method Details

"protectedEndpoints": [ # Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used. { # Configuration for an API endpoint to protect with reCAPTCHA. "action": "A String", # Required. Action name to be used for token generation for this endpoint. The action name can only contain alphanumeric characters, slashes, and underscores. - "path": "A String", # Required. URI path of the API endpoint to protect. Must start with '/'. Supports glob characters '*' to match a single path segment and '**' to match multiple path segments. Standalone root catch-alls ('/*' and '/**') are invalid because it can negatively impact performance to trigger reCAPTCHA on every single request to your backend. Matching is evaluated against the URL path only (domain, scheme, and query parameters are ignored). Examples: - `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. - `/products/*` matches `/products/123`, but not `/products/123/456`. - `/content/**` matches `/content/articles/2024/01/01`. + "path": "A String", # Required. The URI path of the API endpoint to protect. The path is case-sensitive and must meet the following criteria: * Be unique, start with `/`, and contain 1 to 200 characters without consecutive slashes (`//`). * Include at least one non-wildcard segment. For example, cannot be `/`, `/*`, `/**`, or `/*/`. * Wildcards must occupy complete segments: `*` matches a single segment. For example, `/api/*/login` or `/api/*` are valid; `/api/login*` is invalid, and `**` matches multiple segments as the final segment only. For example, `/api/**` is valid; `/api/**/login` is invalid. Matching is evaluated against the URL path only. Domain, scheme, and query parameters are ignored. Examples: * `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. * `/products/*` matches `/products/123`, but not `/products/123/456`. * `/content/**` matches `/content/articles/2024/01/01`. }, ], }, @@ -951,7 +951,7 @@

Method Details

"protectedEndpoints": [ # Optional. List of API endpoints to automatically protect with reCAPTCHA. If any of these endpoints is invoked from a page where a key bound to this policy is installed, a reCAPTCHA token is automatically generated and attached to the request. If multiple protected endpoints match a given API endpoint, the first one in the list is used. { # Configuration for an API endpoint to protect with reCAPTCHA. "action": "A String", # Required. Action name to be used for token generation for this endpoint. The action name can only contain alphanumeric characters, slashes, and underscores. - "path": "A String", # Required. URI path of the API endpoint to protect. Must start with '/'. Supports glob characters '*' to match a single path segment and '**' to match multiple path segments. Standalone root catch-alls ('/*' and '/**') are invalid because it can negatively impact performance to trigger reCAPTCHA on every single request to your backend. Matching is evaluated against the URL path only (domain, scheme, and query parameters are ignored). Examples: - `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. - `/products/*` matches `/products/123`, but not `/products/123/456`. - `/content/**` matches `/content/articles/2024/01/01`. + "path": "A String", # Required. The URI path of the API endpoint to protect. The path is case-sensitive and must meet the following criteria: * Be unique, start with `/`, and contain 1 to 200 characters without consecutive slashes (`//`). * Include at least one non-wildcard segment. For example, cannot be `/`, `/*`, `/**`, or `/*/`. * Wildcards must occupy complete segments: `*` matches a single segment. For example, `/api/*/login` or `/api/*` are valid; `/api/login*` is invalid, and `**` matches multiple segments as the final segment only. For example, `/api/**` is valid; `/api/**/login` is invalid. Matching is evaluated against the URL path only. Domain, scheme, and query parameters are ignored. Examples: * `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. * `/products/*` matches `/products/123`, but not `/products/123/456`. * `/content/**` matches `/content/articles/2024/01/01`. }, ], }, diff --git a/docs/dyn/run_v1.namespaces.configurations.html b/docs/dyn/run_v1.namespaces.configurations.html index cc1409eba3..33d26b9e1b 100644 --- a/docs/dyn/run_v1.namespaces.configurations.html +++ b/docs/dyn/run_v1.namespaces.configurations.html @@ -366,6 +366,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -721,6 +768,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.namespaces.executions.html b/docs/dyn/run_v1.namespaces.executions.html index 69fc870f4a..78059270ce 100644 --- a/docs/dyn/run_v1.namespaces.executions.html +++ b/docs/dyn/run_v1.namespaces.executions.html @@ -337,6 +337,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -701,6 +748,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -1026,6 +1120,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. diff --git a/docs/dyn/run_v1.namespaces.instances.html b/docs/dyn/run_v1.namespaces.instances.html index adfe342f41..4cc81288f2 100644 --- a/docs/dyn/run_v1.namespaces.instances.html +++ b/docs/dyn/run_v1.namespaces.instances.html @@ -335,6 +335,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -632,6 +679,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -980,6 +1074,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -1293,6 +1434,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -1602,6 +1790,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -1899,6 +2134,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -2209,6 +2491,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. @@ -2519,6 +2848,53 @@

Method Details

"a_key": "A String", }, "restartPolicy": "A String", # Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the Instance. { # Volume represents a named volume in a container. diff --git a/docs/dyn/run_v1.namespaces.jobs.html b/docs/dyn/run_v1.namespaces.jobs.html index b39cd2a0a0..4906946773 100644 --- a/docs/dyn/run_v1.namespaces.jobs.html +++ b/docs/dyn/run_v1.namespaces.jobs.html @@ -373,6 +373,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -720,6 +767,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -1118,6 +1212,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -1481,6 +1622,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -1840,6 +2028,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -2187,6 +2422,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -2548,6 +2830,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. diff --git a/docs/dyn/run_v1.namespaces.revisions.html b/docs/dyn/run_v1.namespaces.revisions.html index 40583a6b58..355996a357 100644 --- a/docs/dyn/run_v1.namespaces.revisions.html +++ b/docs/dyn/run_v1.namespaces.revisions.html @@ -380,6 +380,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -701,6 +748,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.namespaces.services.html b/docs/dyn/run_v1.namespaces.services.html index c71122c0a3..5209b6ed01 100644 --- a/docs/dyn/run_v1.namespaces.services.html +++ b/docs/dyn/run_v1.namespaces.services.html @@ -370,6 +370,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -733,6 +780,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1147,6 +1241,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1526,6 +1667,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1901,6 +2089,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -2264,6 +2499,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.namespaces.tasks.html b/docs/dyn/run_v1.namespaces.tasks.html index 2badb2aee9..951283924e 100644 --- a/docs/dyn/run_v1.namespaces.tasks.html +++ b/docs/dyn/run_v1.namespaces.tasks.html @@ -325,6 +325,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. @@ -653,6 +700,53 @@

Method Details

"nodeSelector": { # Optional. The Node Selector configuration. Map of selector key to a value which matches a node. "a_key": "A String", }, + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeoutSeconds": "A String", # Optional. Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. List of volumes that can be mounted by containers belonging to the task. diff --git a/docs/dyn/run_v1.namespaces.workerpools.html b/docs/dyn/run_v1.namespaces.workerpools.html index 3b216e9177..f5ae7537d8 100644 --- a/docs/dyn/run_v1.namespaces.workerpools.html +++ b/docs/dyn/run_v1.namespaces.workerpools.html @@ -377,6 +377,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -730,6 +777,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1131,6 +1225,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1496,6 +1637,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1861,6 +2049,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -2214,6 +2449,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.projects.locations.configurations.html b/docs/dyn/run_v1.projects.locations.configurations.html index 8ef3084e3e..c3f3f6d05d 100644 --- a/docs/dyn/run_v1.projects.locations.configurations.html +++ b/docs/dyn/run_v1.projects.locations.configurations.html @@ -366,6 +366,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -721,6 +768,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.projects.locations.revisions.html b/docs/dyn/run_v1.projects.locations.revisions.html index e176aa55be..ee6f801ebf 100644 --- a/docs/dyn/run_v1.projects.locations.revisions.html +++ b/docs/dyn/run_v1.projects.locations.revisions.html @@ -380,6 +380,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -701,6 +748,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v1.projects.locations.services.html b/docs/dyn/run_v1.projects.locations.services.html index 27e69e84e4..9d06f4a149 100644 --- a/docs/dyn/run_v1.projects.locations.services.html +++ b/docs/dyn/run_v1.projects.locations.services.html @@ -379,6 +379,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -742,6 +789,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1156,6 +1250,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1583,6 +1724,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -1958,6 +2146,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ @@ -2321,6 +2556,53 @@

Method Details

"a_key": "A String", }, "runtimeClassName": "A String", # Optional. Runtime. Leave unset for default. + "sandboxes": { # Configuration for sandboxes. # Optional. Sandbox configuration that can be launched through the `sandbox` CLI. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. + "value": "A String", # Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run. + "valueFrom": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty. + "configMapKeyRef": { # Not supported by Cloud Run. # Not supported by Cloud Run. Not supported in Cloud Run. + "key": "A String", # Required. Not supported by Cloud Run. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # Not supported by Cloud Run. + "name": "A String", # Name of the referent. + }, + "name": "A String", # Required. Not supported by Cloud Run. + "optional": True or False, # Not supported by Cloud Run. + }, + "secretKeyRef": { # SecretKeySelector selects a key of a Secret. # Selects a key (version) of a secret in Secret Manager. + "key": "A String", # Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. + "localObjectReference": { # Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. # This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. + "name": "A String", # Name of the referent. + }, + "name": "A String", # The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. + "optional": True or False, # Specify whether the Secret or its key must be defined. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. + "name": "A String", # Required. The name of the volume. There must be a corresponding Volume with the same name. + "readOnly": True or False, # Sets the mount to be read-only or read-write. Not used by Cloud Run. + "subPath": "A String", # Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccountName": "A String", # Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "timeoutSeconds": 42, # Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). "volumes": [ diff --git a/docs/dyn/run_v2.projects.locations.instances.html b/docs/dyn/run_v2.projects.locations.instances.html index 3c9b95cd1b..3a3044b3d7 100644 --- a/docs/dyn/run_v2.projects.locations.instances.html +++ b/docs/dyn/run_v2.projects.locations.instances.html @@ -321,6 +321,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Instance currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an `int64` value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`. "reconciling": True or False, # Output only. Returns `true` if the Instance is currently being acted upon by the system to bring it into the desired state. When a new Instance is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Instance to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation` will have a transient value that might mismatch the intended state. Once reconciliation is over (and this field is `false`), there are two possible outcomes: reconciliation succeeded and the serving state matches the Instance, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. "restartPolicy": "A String", # Optional. Restart policy for the Instance. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "serviceAccount": "A String", "sshEnabled": True or False, # Optional. Enables SSH access to the Instance. @@ -351,7 +385,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -670,6 +704,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Instance currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an `int64` value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`. "reconciling": True or False, # Output only. Returns `true` if the Instance is currently being acted upon by the system to bring it into the desired state. When a new Instance is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Instance to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation` will have a transient value that might mismatch the intended state. Once reconciliation is over (and this field is `false`), there are two possible outcomes: reconciliation succeeded and the serving state matches the Instance, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. "restartPolicy": "A String", # Optional. Restart policy for the Instance. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "serviceAccount": "A String", "sshEnabled": True or False, # Optional. Enables SSH access to the Instance. @@ -700,7 +768,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1005,6 +1073,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Instance currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an `int64` value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`. "reconciling": True or False, # Output only. Returns `true` if the Instance is currently being acted upon by the system to bring it into the desired state. When a new Instance is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Instance to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation` will have a transient value that might mismatch the intended state. Once reconciliation is over (and this field is `false`), there are two possible outcomes: reconciliation succeeded and the serving state matches the Instance, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. "restartPolicy": "A String", # Optional. Restart policy for the Instance. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "serviceAccount": "A String", "sshEnabled": True or False, # Optional. Enables SSH access to the Instance. @@ -1035,7 +1137,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1299,6 +1401,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Instance currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an `int64` value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`. "reconciling": True or False, # Output only. Returns `true` if the Instance is currently being acted upon by the system to bring it into the desired state. When a new Instance is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Instance to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation` will have a transient value that might mismatch the intended state. Once reconciliation is over (and this field is `false`), there are two possible outcomes: reconciliation succeeded and the serving state matches the Instance, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. "restartPolicy": "A String", # Optional. Restart policy for the Instance. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "serviceAccount": "A String", "sshEnabled": True or False, # Optional. Enables SSH access to the Instance. @@ -1329,7 +1465,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.jobs.executions.html b/docs/dyn/run_v2.projects.locations.jobs.executions.html index 681d5a870f..7abf50ba63 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.executions.html +++ b/docs/dyn/run_v2.projects.locations.jobs.executions.html @@ -426,6 +426,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -439,7 +473,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -698,6 +732,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -711,7 +779,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html b/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html index 8234ae65d0..0ca85a9e4d 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html +++ b/docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html @@ -298,6 +298,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Task. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run. "retried": 42, # Output only. The number of times this Task was retried. Tasks are retried when they fail up to the maxRetries limit. + "sandboxes": { # Configuration for sandboxes. # Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scheduledTime": "A String", # Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations. "serviceAccount": "A String", # Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. @@ -316,7 +350,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -575,6 +609,40 @@

Method Details

"observedGeneration": "A String", # Output only. The generation of this Task. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run. "retried": 42, # Output only. The number of times this Task was retried. Tasks are retried when they fail up to the maxRetries limit. + "sandboxes": { # Configuration for sandboxes. # Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scheduledTime": "A String", # Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations. "serviceAccount": "A String", # Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. @@ -593,7 +661,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.jobs.html b/docs/dyn/run_v2.projects.locations.jobs.html index cce939fe82..925e220cc5 100644 --- a/docs/dyn/run_v2.projects.locations.jobs.html +++ b/docs/dyn/run_v2.projects.locations.jobs.html @@ -335,6 +335,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -348,7 +382,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -699,6 +733,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -712,7 +780,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1049,6 +1117,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -1062,7 +1164,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1358,6 +1460,40 @@

Method Details

"nodeSelector": { # Hardware constraints configuration. # Optional. The node selector for the task template. "accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account. "timeout": "A String", # Optional. Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout. Defaults to 600 seconds. "volumes": [ # Optional. A list of Volumes to make available to containers. @@ -1371,7 +1507,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.services.html b/docs/dyn/run_v2.projects.locations.services.html index c42fa2c457..babcf29f03 100644 --- a/docs/dyn/run_v2.projects.locations.services.html +++ b/docs/dyn/run_v2.projects.locations.services.html @@ -362,6 +362,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "scaling": { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. "cpuUtilization": 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -385,7 +419,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -787,6 +821,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "scaling": { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. "cpuUtilization": 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -810,7 +878,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1199,6 +1267,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "scaling": { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. "cpuUtilization": 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -1222,7 +1324,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1571,6 +1673,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "scaling": { # Settings for revision-level scaling settings. # Optional. Scaling settings for this Revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. "cpuUtilization": 3.14, # Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -1594,7 +1730,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.services.revisions.html b/docs/dyn/run_v2.projects.locations.services.revisions.html index e70ab63b2e..c2e50c1338 100644 --- a/docs/dyn/run_v2.projects.locations.services.revisions.html +++ b/docs/dyn/run_v2.projects.locations.services.revisions.html @@ -369,6 +369,40 @@

Method Details

}, "observedGeneration": "A String", # Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run. + "sandboxes": { # Configuration for sandboxes. # Output only. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scaling": { # Settings for revision-level scaling settings. # Scaling settings for this revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -399,7 +433,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -650,6 +684,40 @@

Method Details

}, "observedGeneration": "A String", # Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run. + "sandboxes": { # Configuration for sandboxes. # Output only. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scaling": { # Settings for revision-level scaling settings. # Scaling settings for this revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -680,7 +748,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.workerPools.html b/docs/dyn/run_v2.projects.locations.workerPools.html index d94786ce16..fa8411b29f 100644 --- a/docs/dyn/run_v2.projects.locations.workerPools.html +++ b/docs/dyn/run_v2.projects.locations.workerPools.html @@ -341,6 +341,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "serviceMesh": { # Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview. # Optional. Enables service mesh connectivity. "mesh": "A String", # The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can be project id or number. @@ -356,7 +390,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -711,6 +745,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "serviceMesh": { # Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview. # Optional. Enables service mesh connectivity. "mesh": "A String", # The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can be project id or number. @@ -726,7 +794,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1068,6 +1136,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "serviceMesh": { # Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview. # Optional. Enables service mesh connectivity. "mesh": "A String", # The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can be project id or number. @@ -1083,7 +1185,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -1382,6 +1484,40 @@

Method Details

"accelerator": "A String", # Required. GPU accelerator type to attach to an instance. }, "revision": "A String", # Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name. + "sandboxes": { # Configuration for sandboxes. # Optional. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "serviceAccount": "A String", # Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. "serviceMesh": { # Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview. # Optional. Enables service mesh connectivity. "mesh": "A String", # The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can be project id or number. @@ -1397,7 +1533,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/run_v2.projects.locations.workerPools.revisions.html b/docs/dyn/run_v2.projects.locations.workerPools.revisions.html index 281571ee1e..f3b277af1a 100644 --- a/docs/dyn/run_v2.projects.locations.workerPools.revisions.html +++ b/docs/dyn/run_v2.projects.locations.workerPools.revisions.html @@ -330,6 +330,40 @@

Method Details

}, "observedGeneration": "A String", # Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run. + "sandboxes": { # Configuration for sandboxes. # Output only. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scaling": { # Settings for revision-level scaling settings. # Scaling settings for this revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -360,7 +394,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", @@ -611,6 +645,40 @@

Method Details

}, "observedGeneration": "A String", # Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. "reconciling": True or False, # Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run. + "sandboxes": { # Configuration for sandboxes. # Output only. Configuration for sandboxes. + "templates": [ # Required. Sandbox templates that can be launched through the `sandbox` CLI. + { # Template for a single sandbox. + "args": [ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + "A String", + ], + "command": [ # Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. + "A String", + ], + "env": [ # Optional. List of environment variables to set in the sandbox. + { # EnvVar represents an environment variable present in a Container. + "name": "A String", # Required. Name of the environment variable. Must not exceed 32768 characters. + "value": "A String", # Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run. + "valueSource": { # EnvVarSource represents a source for the value of an EnvVar. # Source for the environment variable's value. + "secretKeyRef": { # SecretEnvVarSource represents a source for the value of an EnvVar. # Selects a secret and a specific version from Cloud Secret Manager. + "secret": "A String", # Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. + "version": "A String", # The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. + }, + }, + }, + ], + "image": "A String", # Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. + "name": "A String", # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123). + "volumeMounts": [ # Optional. Volume to mount into the container's filesystem. + { # VolumeMount describes a mounting of a Volume within a container. + "mountPath": "A String", # Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run + "name": "A String", # Required. This must match the Name of a Volume. + "subPath": "A String", # Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). This field is currently rejected in Secret volume mounts. + }, + ], + "workingDir": "A String", # Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. + }, + ], + }, "satisfiesPzs": True or False, # Output only. Reserved for future use. "scaling": { # Settings for revision-level scaling settings. # Scaling settings for this revision. "concurrencyUtilization": 3.14, # Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. @@ -641,7 +709,7 @@

Method Details

"medium": "A String", # The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional "sizeLimit": "A String", # Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir }, - "gcs": { # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE. # Persistent storage backed by a Google Cloud Storage bucket. + "gcs": { # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk). # Persistent storage backed by a Google Cloud Storage bucket. "bucket": "A String", # Cloud Storage Bucket name. "mountOptions": [ # A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--". "A String", diff --git a/docs/dyn/saasservicemgmt_v1.projects.locations.unitKinds.html b/docs/dyn/saasservicemgmt_v1.projects.locations.unitKinds.html index ac200e6abe..e2b6bc221e 100644 --- a/docs/dyn/saasservicemgmt_v1.projects.locations.unitKinds.html +++ b/docs/dyn/saasservicemgmt_v1.projects.locations.unitKinds.html @@ -139,6 +139,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -217,6 +220,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -320,6 +326,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -409,6 +418,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -505,6 +517,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -583,6 +598,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies diff --git a/docs/dyn/saasservicemgmt_v1.projects.locations.unitOperations.html b/docs/dyn/saasservicemgmt_v1.projects.locations.unitOperations.html index 9aed8c569d..5c510aab96 100644 --- a/docs/dyn/saasservicemgmt_v1.projects.locations.unitOperations.html +++ b/docs/dyn/saasservicemgmt_v1.projects.locations.unitOperations.html @@ -128,6 +128,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -195,6 +198,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -287,6 +293,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -365,6 +374,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -450,6 +462,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -517,6 +532,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flagRevisions.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flagRevisions.html index 974ccce18d..555eddf79f 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flagRevisions.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flagRevisions.html @@ -226,7 +226,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -361,7 +361,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -521,7 +521,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -666,7 +666,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -820,7 +820,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -955,7 +955,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flags.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flags.html index 1c60e7d0df..56e6051f95 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flags.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.flags.html @@ -176,7 +176,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], } @@ -258,7 +258,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }
@@ -365,7 +365,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }
@@ -457,7 +457,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }, @@ -558,7 +558,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], } @@ -640,7 +640,7 @@

Method Details

"id": "A String", # Required. Variant ID. Max length: 128 bytes. "integerValue": "A String", # Optional. Integer variant value. "stringValue": "A String", # Optional. String variant value. - "trackingId": "A String", # Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. + "trackingId": "A String", # Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants. }, ], }
diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.html index b543c0da05..ab241ce3c0 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.html @@ -114,11 +114,6 @@

Instance Methods

Returns the saas Resource.

-

- saasReleases() -

-

Returns the saasReleases Resource.

-

tenants()

diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroupOperations.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroupOperations.html index 560ef58e54..0398138474 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroupOperations.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroupOperations.html @@ -77,12 +77,6 @@

Instance Methods

close()

Close httplib2 connections.

-

- create(parent, body=None, requestId=None, unitGroupOperationId=None, validateOnly=None, x__xgafv=None)

-

Create a new unit group operation.

-

- delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)

-

Delete a single unit group operation.

get(name, x__xgafv=None)

Retrieve a single unit group operation.

@@ -92,87 +86,12 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

-

- patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)

-

Update a single unit group operation.

Method Details

close()
Close httplib2 connections.
-
- create(parent, body=None, requestId=None, unitGroupOperationId=None, validateOnly=None, x__xgafv=None) -
Create a new unit group operation.
-
-Args:
-  parent: string, Required. The parent of the unit group operation. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # UnitGroupOperation represents an operation on a UnitGroup.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
-  requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
-  unitGroupOperationId: string, Required. The ID value for the new unit group operation.
-  validateOnly: boolean, Optional. If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # UnitGroupOperation represents an operation on a UnitGroup.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
- -
- delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None) -
Delete a single unit group operation.
-
-Args:
-  name: string, Required. The resource name of the resource within a service. (required)
-  etag: string, Optional. The etag known to the client for the expected state of the unit group operation. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit group operation. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.
-  requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
-  validateOnly: boolean, Optional. If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
-}
-
-
get(name, x__xgafv=None)
Retrieve a single unit group operation.
@@ -259,55 +178,4 @@ 

Method Details

-
- patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None) -
Update a single unit group operation.
-
-Args:
-  name: string, Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}" (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # UnitGroupOperation represents an operation on a UnitGroup.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
-  requestId: string, Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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, Optional. Field mask is used to specify the fields to be overwritten in the UnitGroupOperation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the UnitGroupOperation will be overwritten.
-  validateOnly: boolean, Optional. If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # UnitGroupOperation represents an operation on a UnitGroup.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
- \ No newline at end of file diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroups.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroups.html index 958b626976..a5ef97fddb 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroups.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitGroups.html @@ -77,12 +77,6 @@

Instance Methods

close()

Close httplib2 connections.

-

- create(parent, body=None, requestId=None, unitGroupId=None, validateOnly=None, x__xgafv=None)

-

Create a new unit group.

-

- delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)

-

Delete a single unit group.

get(name, x__xgafv=None)

Retrieve a single unit group.

@@ -92,85 +86,12 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

-

- patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)

-

Update a single unit group.

Method Details

close()
Close httplib2 connections.
-
- create(parent, body=None, requestId=None, unitGroupId=None, validateOnly=None, x__xgafv=None) -
Create a new unit group.
-
-Args:
-  parent: string, Required. The parent of the unit group. (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup may be created and provisioned before the Tenant is created.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
-  requestId: string, An optional request ID to identify requests.
-  unitGroupId: string, Required. The ID value for the new unit group.
-  validateOnly: boolean, If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup may be created and provisioned before the Tenant is created.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
- -
- delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None) -
Delete a single unit group.
-
-Args:
-  name: string, Required. The resource name of the resource within a service. (required)
-  etag: string, The etag known to the client for the expected state of the unit group.
-  requestId: string, An optional request ID to identify requests.
-  validateOnly: boolean, If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
-}
-
-
get(name, x__xgafv=None)
Retrieve a single unit group.
@@ -255,53 +176,4 @@ 

Method Details

-
- patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None) -
Update a single unit group.
-
-Args:
-  name: string, Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}" (required)
-  body: object, The request body.
-    The object takes the form of:
-
-{ # UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup may be created and provisioned before the Tenant is created.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
-  requestId: string, An optional request ID to identify requests.
-  updateMask: string, Field mask is used to specify the fields to be overwritten.
-  validateOnly: boolean, If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
-  x__xgafv: string, V1 error format.
-    Allowed values
-      1 - v1 error format
-      2 - v2 error format
-
-Returns:
-  An object of the form:
-
-    { # UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup may be created and provisioned before the Tenant is created.
-  "annotations": { # Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
-    "a_key": "A String",
-  },
-  "createTime": "A String", # Output only. The timestamp when the resource was created.
-  "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
-  "labels": { # Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
-    "a_key": "A String",
-  },
-  "name": "A String", # Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}"
-  "uid": "A String", # Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
-  "updateTime": "A String", # Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
-}
-
- \ No newline at end of file diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitKinds.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitKinds.html index 13c5bd4b3e..bcad02f6c7 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitKinds.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitKinds.html @@ -142,6 +142,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -223,6 +226,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -329,6 +335,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -421,6 +430,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -520,6 +532,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies @@ -601,6 +616,9 @@

Method Details

"unitKind": "A String", # Required. Immutable. The unit kind of the dependency. }, ], + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "inputVariableMappings": [ # Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100. { # Mapping of input variables to their respective output variable for depedenencies diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitOperations.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitOperations.html index 0183c4131c..93a74e6b8e 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitOperations.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.unitOperations.html @@ -128,6 +128,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -198,6 +201,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -293,6 +299,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -374,6 +383,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -462,6 +474,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. @@ -532,6 +547,9 @@

Method Details

"deleteTime": "A String", # Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation). "deprovision": { # Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. # Optional. Deprovision operation. }, + "durationLimits": { # DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system. # Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. + "unitOperationTimeout": "A String", # Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED. + }, "engineState": "A String", # Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage. "errorCategory": "A String", # Optional. Output only. UnitOperationErrorCategory describe the error category. "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. diff --git a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.units.html b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.units.html index 66af97c291..92603684ad 100644 --- a/docs/dyn/saasservicemgmt_v1beta1.projects.locations.units.html +++ b/docs/dyn/saasservicemgmt_v1beta1.projects.locations.units.html @@ -137,6 +137,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. @@ -224,6 +228,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. @@ -336,6 +344,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. @@ -434,6 +446,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. @@ -539,6 +555,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. @@ -626,6 +646,10 @@

Method Details

"unit": "A String", # Output only. A reference to the Unit object. }, ], + "engine": { # Engine captures metadata about the underlying actuation engine instance managing this Unit. # Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit. + "engineId": "A String", # Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + "location": "A String", # Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., "us-central1"). + }, "etag": "A String", # Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. "flagConfigName": "A String", # Output only. This field stores the unique identifier for the flag configuration to be used by this Unit. "flagRevisions": [ # Optional. Output only. Flag revisions used by this Unit. diff --git a/docs/dyn/securitycenter_v1.folders.securityHealthAnalyticsSettings.customModules.html b/docs/dyn/securitycenter_v1.folders.securityHealthAnalyticsSettings.customModules.html index 12c41b4d5e..bad5c80b47 100644 --- a/docs/dyn/securitycenter_v1.folders.securityHealthAnalyticsSettings.customModules.html +++ b/docs/dyn/securitycenter_v1.folders.securityHealthAnalyticsSettings.customModules.html @@ -782,6 +782,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/securitycenter_v1.folders.sources.findings.html b/docs/dyn/securitycenter_v1.folders.sources.findings.html index d9bc579db1..5a0691fe50 100644 --- a/docs/dyn/securitycenter_v1.folders.sources.findings.html +++ b/docs/dyn/securitycenter_v1.folders.sources.findings.html @@ -351,6 +351,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -1348,6 +1353,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -2201,6 +2211,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3067,6 +3082,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3934,6 +3954,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/securitycenter_v1.organizations.securityHealthAnalyticsSettings.customModules.html b/docs/dyn/securitycenter_v1.organizations.securityHealthAnalyticsSettings.customModules.html index ce0e7341ee..312bdcb4f7 100644 --- a/docs/dyn/securitycenter_v1.organizations.securityHealthAnalyticsSettings.customModules.html +++ b/docs/dyn/securitycenter_v1.organizations.securityHealthAnalyticsSettings.customModules.html @@ -782,6 +782,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/securitycenter_v1.organizations.sources.findings.html b/docs/dyn/securitycenter_v1.organizations.sources.findings.html index aa09b070cf..c47c08b2f8 100644 --- a/docs/dyn/securitycenter_v1.organizations.sources.findings.html +++ b/docs/dyn/securitycenter_v1.organizations.sources.findings.html @@ -284,6 +284,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -1137,6 +1142,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -2061,6 +2071,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3058,6 +3073,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3911,6 +3931,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -4777,6 +4802,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -5644,6 +5674,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/securitycenter_v1.projects.securityHealthAnalyticsSettings.customModules.html b/docs/dyn/securitycenter_v1.projects.securityHealthAnalyticsSettings.customModules.html index d242ec69cc..9b85dce6f9 100644 --- a/docs/dyn/securitycenter_v1.projects.securityHealthAnalyticsSettings.customModules.html +++ b/docs/dyn/securitycenter_v1.projects.securityHealthAnalyticsSettings.customModules.html @@ -782,6 +782,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/securitycenter_v1.projects.sources.findings.html b/docs/dyn/securitycenter_v1.projects.sources.findings.html index 8fee3aa82f..38efe6b963 100644 --- a/docs/dyn/securitycenter_v1.projects.sources.findings.html +++ b/docs/dyn/securitycenter_v1.projects.sources.findings.html @@ -351,6 +351,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -1348,6 +1353,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -2201,6 +2211,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3067,6 +3082,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", @@ -3934,6 +3954,11 @@

Method Details

"infoTypeCount": "A String", "inspectJob": "A String", }, + "cloudRun": { + "revisions": [ + "A String", + ], + }, "complianceDetails": { "cloudControl": { "cloudControlName": "A String", diff --git a/docs/dyn/solar_v1.buildingInsights.html b/docs/dyn/solar_v1.buildingInsights.html index 2f0454ed3c..c47795055c 100644 --- a/docs/dyn/solar_v1.buildingInsights.html +++ b/docs/dyn/solar_v1.buildingInsights.html @@ -136,6 +136,13 @@

Method Details

"longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. }, "detectedArrays": { # Information about solar arrays detected on the building. # Solar arrays detected on the building. This field is only populated if DETECTED_ARRAYS is included in the request's FindClosestBuildingInsightsRequest.additional_insights. + "arrays": [ # A list of solar arrays detected on the building. + { # Details of a single detected solar array. + "polygonGeojson": { # A GeoJSON representation of the building area where solar panels were detected. The GeoJSON data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The Polygon will be represented by several loops when it contains holes. Example: { "type": "Polygon", "coordinates": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] } + "a_key": "", # Properties of the object. + }, + }, + ], "detectionStatus": "A String", # Indicates the detection status of solar arrays for this building. "latestCaptureDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date indicating when the latest solar array data was captured. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. diff --git a/docs/dyn/tasks_v1.tasklists.html b/docs/dyn/tasks_v1.tasklists.html index db7d8f4ead..c97e8b0ecc 100644 --- a/docs/dyn/tasks_v1.tasklists.html +++ b/docs/dyn/tasks_v1.tasklists.html @@ -79,7 +79,7 @@

Instance Methods

Close httplib2 connections.

delete(tasklist, x__xgafv=None)

-

Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.

+

Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted. The user's default task list cannot be deleted.

get(tasklist, x__xgafv=None)

Returns the authenticated user's specified task list.

@@ -106,10 +106,10 @@

Method Details

delete(tasklist, x__xgafv=None) -
Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
+  
Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted. The user's default task list cannot be deleted.
 
 Args:
-  tasklist: string, Task list identifier. (required)
+  tasklist: string, Task list identifier. The default task list cannot be deleted. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -122,7 +122,7 @@ 

Method Details

Returns the authenticated user's specified task list.
 
 Args:
-  tasklist: string, Task list identifier. (required)
+  tasklist: string, Task list identifier. Use "@default" to get the authenticated user's default task list. (required)
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -133,7 +133,7 @@ 

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -151,7 +151,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -168,7 +168,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -181,8 +181,8 @@

Method Details

Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.
 
 Args:
-  maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).
-  pageToken: string, Token specifying the result page to return. Optional.
+  maxResults: integer, Optional. Maximum number of task lists returned on one page. The default is 1000 (max allowed: 1000).
+  pageToken: string, Optional. Token specifying the result page to return.
   x__xgafv: string, V1 error format.
     Allowed values
       1 - v1 error format
@@ -196,7 +196,7 @@ 

Method Details

"items": [ # Collection of task lists. { "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -233,7 +233,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -250,7 +250,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -269,7 +269,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. @@ -286,7 +286,7 @@

Method Details

{ "etag": "A String", # ETag of the resource. - "id": "A String", # Task list identifier. + "id": "A String", # Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default". "kind": "A String", # Output only. Type of the resource. This is always "tasks#taskList". "selfLink": "A String", # Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list. "title": "A String", # Title of the task list. Maximum length allowed: 1024 characters. diff --git a/docs/dyn/tasks_v1.tasks.html b/docs/dyn/tasks_v1.tasks.html index 02b01a66f1..8824c6cdf5 100644 --- a/docs/dyn/tasks_v1.tasks.html +++ b/docs/dyn/tasks_v1.tasks.html @@ -87,7 +87,7 @@

Instance Methods

get(tasklist, task, x__xgafv=None)

Returns the specified task.

- insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None)

+ insert(tasklist, body=None, hidden=None, parent=None, previous=None, x__xgafv=None)

Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.

list(tasklist, completedMax=None, completedMin=None, dueMax=None, dueMin=None, maxResults=None, pageToken=None, showAssigned=None, showCompleted=None, showDeleted=None, showHidden=None, updatedMin=None, x__xgafv=None)

@@ -190,7 +190,7 @@

Method Details

- insert(tasklist, body=None, parent=None, previous=None, x__xgafv=None) + insert(tasklist, body=None, hidden=None, parent=None, previous=None, x__xgafv=None)
Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.
 
 Args:
@@ -234,8 +234,9 @@ 

Method Details

"webViewLink": "A String", # Output only. An absolute link to the task in the Google Tasks Web UI. } - parent: string, Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional. - previous: string, Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional. + hidden: boolean, Optional. Flag indicating whether the task is created as 'hidden', as if it had been completed and then cleared from the task list (see the "clear" method). Hidden tasks are not returned by default when retrieving all tasks for a task list (see showHidden). Only completed tasks can be created as hidden, and they can not be nested or positioned, so parent and previous must be empty. + parent: string, Optional. Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. + previous: string, Optional. Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -287,17 +288,17 @@

Method Details

Args: tasklist: string, Task list identifier. (required) - completedMax: string, Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. - completedMin: string, Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. - dueMax: string, Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. - dueMin: string, Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. - maxResults: integer, Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100). - pageToken: string, Token specifying the result page to return. Optional. - showAssigned: boolean, Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False. - showCompleted: boolean, Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True. - showDeleted: boolean, Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. - showHidden: boolean, Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. - updatedMin: string, Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time. + completedMax: string, Optional. Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date. + completedMin: string, Optional. Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date. + dueMax: string, Optional. Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date. + dueMin: string, Optional. Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date. + maxResults: integer, Optional. Maximum number of tasks returned on one page. The default is 20 (max allowed: 100). + pageToken: string, Optional. Token specifying the result page to return. + showAssigned: boolean, Optional. Flag indicating whether tasks assigned to the current user are returned in the result. The default is False. + showCompleted: boolean, Optional. Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. The default is True. + showDeleted: boolean, Optional. Flag indicating whether deleted tasks are returned in the result. The default is False. + showHidden: boolean, Optional. Flag indicating whether hidden tasks are returned in the result. The default is False. + updatedMin: string, Optional. Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. The default is not to filter by last modification time. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/threatintelligence_v1beta.projects.alerts.html b/docs/dyn/threatintelligence_v1beta.projects.alerts.html index ec5ee52fc0..826e883bb3 100644 --- a/docs/dyn/threatintelligence_v1beta.projects.alerts.html +++ b/docs/dyn/threatintelligence_v1beta.projects.alerts.html @@ -322,7 +322,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -346,7 +346,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -598,7 +598,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -622,7 +622,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -902,7 +902,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -926,7 +926,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -1172,7 +1172,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -1196,7 +1196,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -1436,7 +1436,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -1460,7 +1460,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -1725,7 +1725,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -1749,7 +1749,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -2012,7 +2012,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -2036,7 +2036,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -2282,7 +2282,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -2306,7 +2306,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -2552,7 +2552,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -2576,7 +2576,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -2822,7 +2822,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -2846,7 +2846,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -3092,7 +3092,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -3116,7 +3116,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, diff --git a/docs/dyn/threatintelligence_v1beta.projects.configurations.html b/docs/dyn/threatintelligence_v1beta.projects.configurations.html index d6a065f18e..3977b9c285 100644 --- a/docs/dyn/threatintelligence_v1beta.projects.configurations.html +++ b/docs/dyn/threatintelligence_v1beta.projects.configurations.html @@ -345,7 +345,7 @@

Method Details

"priorityMinimum": "A String", # Optional. The minimum priority for the alert. "riskRatingMinimum": "A String", # Optional. The minimum risk rating for the alert. }, - "technologies": [ # Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:* + "technologies": [ # Optional. List of technologies to watch, one per entry, in the form ` [version]`, using the vendor and product names from the Google Threat Intelligence products and fixes section. example: `microsoft outlook` `apache http_server 2.4.54` CPE strings such as `cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*` are only parsed through the Google Threat Intelligence interface and are not available through the API. Send the vendor and product pair instead. "A String", ], }, @@ -610,7 +610,7 @@

Method Details

"priorityMinimum": "A String", # Optional. The minimum priority for the alert. "riskRatingMinimum": "A String", # Optional. The minimum risk rating for the alert. }, - "technologies": [ # Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:* + "technologies": [ # Optional. List of technologies to watch, one per entry, in the form ` [version]`, using the vendor and product names from the Google Threat Intelligence products and fixes section. example: `microsoft outlook` `apache http_server 2.4.54` CPE strings such as `cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*` are only parsed through the Google Threat Intelligence interface and are not available through the API. Send the vendor and product pair instead. "A String", ], }, @@ -881,7 +881,7 @@

Method Details

"priorityMinimum": "A String", # Optional. The minimum priority for the alert. "riskRatingMinimum": "A String", # Optional. The minimum risk rating for the alert. }, - "technologies": [ # Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:* + "technologies": [ # Optional. List of technologies to watch, one per entry, in the form ` [version]`, using the vendor and product names from the Google Threat Intelligence products and fixes section. example: `microsoft outlook` `apache http_server 2.4.54` CPE strings such as `cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*` are only parsed through the Google Threat Intelligence interface and are not available through the API. Send the vendor and product pair instead. "A String", ], }, diff --git a/docs/dyn/threatintelligence_v1beta.projects.configurations.revisions.html b/docs/dyn/threatintelligence_v1beta.projects.configurations.revisions.html index 60530b8044..c46d62611d 100644 --- a/docs/dyn/threatintelligence_v1beta.projects.configurations.revisions.html +++ b/docs/dyn/threatintelligence_v1beta.projects.configurations.revisions.html @@ -344,7 +344,7 @@

Method Details

"priorityMinimum": "A String", # Optional. The minimum priority for the alert. "riskRatingMinimum": "A String", # Optional. The minimum risk rating for the alert. }, - "technologies": [ # Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:* + "technologies": [ # Optional. List of technologies to watch, one per entry, in the form ` [version]`, using the vendor and product names from the Google Threat Intelligence products and fixes section. example: `microsoft outlook` `apache http_server 2.4.54` CPE strings such as `cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*` are only parsed through the Google Threat Intelligence interface and are not available through the API. Send the vendor and product pair instead. "A String", ], }, diff --git a/docs/dyn/threatintelligence_v1beta.projects.findings.html b/docs/dyn/threatintelligence_v1beta.projects.findings.html index b3bd80b1c7..5c334b3122 100644 --- a/docs/dyn/threatintelligence_v1beta.projects.findings.html +++ b/docs/dyn/threatintelligence_v1beta.projects.findings.html @@ -281,7 +281,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -305,7 +305,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -529,7 +529,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -553,7 +553,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, @@ -794,7 +794,7 @@

Method Details

"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. "A String", ], - "matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". + "matchedTechnologies": [ # Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`. "A String", ], "priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". @@ -818,7 +818,7 @@

Method Details

], "publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. "riskRating": "A String", # Required. The risk rating of the vulnerability. - "technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". + "technologies": [ # Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`. "A String", ], }, diff --git a/docs/dyn/vault_v1.matters.exports.html b/docs/dyn/vault_v1.matters.exports.html index 9eb52e6081..32acee4b7d 100644 --- a/docs/dyn/vault_v1.matters.exports.html +++ b/docs/dyn/vault_v1.matters.exports.html @@ -126,7 +126,10 @@

Method Details

"driveOptions": { # Options for Drive exports. # Options for Drive exports. "includeAccessInfo": True or False, # To include access level information for users with [indirect access](https://support.google.com/vault/answer/6099459#metadata) to files, set to **true**. }, - "geminiOptions": { # The options for Gemini exports. # Option available for Gemini export. + "geminiInWorkspaceOptions": { # The options for Gemini in Workspace exports. # Option available for Gemini in Workspace export. + "exportFormat": "A String", # The file format for exported messages. + }, + "geminiOptions": { # The options for Gemini app exports. # Option available for Gemini app export. "exportFormat": "A String", # The file format for exported messages. }, "groupsOptions": { # Options for Groups exports. # Options for Groups exports. @@ -188,7 +191,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -270,7 +275,10 @@

Method Details

"driveOptions": { # Options for Drive exports. # Options for Drive exports. "includeAccessInfo": True or False, # To include access level information for users with [indirect access](https://support.google.com/vault/answer/6099459#metadata) to files, set to **true**. }, - "geminiOptions": { # The options for Gemini exports. # Option available for Gemini export. + "geminiInWorkspaceOptions": { # The options for Gemini in Workspace exports. # Option available for Gemini in Workspace export. + "exportFormat": "A String", # The file format for exported messages. + }, + "geminiOptions": { # The options for Gemini app exports. # Option available for Gemini app export. "exportFormat": "A String", # The file format for exported messages. }, "groupsOptions": { # Options for Groups exports. # Options for Groups exports. @@ -332,7 +340,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -441,7 +451,10 @@

Method Details

"driveOptions": { # Options for Drive exports. # Options for Drive exports. "includeAccessInfo": True or False, # To include access level information for users with [indirect access](https://support.google.com/vault/answer/6099459#metadata) to files, set to **true**. }, - "geminiOptions": { # The options for Gemini exports. # Option available for Gemini export. + "geminiInWorkspaceOptions": { # The options for Gemini in Workspace exports. # Option available for Gemini in Workspace export. + "exportFormat": "A String", # The file format for exported messages. + }, + "geminiOptions": { # The options for Gemini app exports. # Option available for Gemini app export. "exportFormat": "A String", # The file format for exported messages. }, "groupsOptions": { # Options for Groups exports. # Options for Groups exports. @@ -503,7 +516,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -596,7 +611,10 @@

Method Details

"driveOptions": { # Options for Drive exports. # Options for Drive exports. "includeAccessInfo": True or False, # To include access level information for users with [indirect access](https://support.google.com/vault/answer/6099459#metadata) to files, set to **true**. }, - "geminiOptions": { # The options for Gemini exports. # Option available for Gemini export. + "geminiInWorkspaceOptions": { # The options for Gemini in Workspace exports. # Option available for Gemini in Workspace export. + "exportFormat": "A String", # The file format for exported messages. + }, + "geminiOptions": { # The options for Gemini app exports. # Option available for Gemini app export. "exportFormat": "A String", # The file format for exported messages. }, "groupsOptions": { # Options for Groups exports. # Options for Groups exports. @@ -658,7 +676,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. diff --git a/docs/dyn/vault_v1.matters.holds.html b/docs/dyn/vault_v1.matters.holds.html index 6b7b53859a..f13c087e65 100644 --- a/docs/dyn/vault_v1.matters.holds.html +++ b/docs/dyn/vault_v1.matters.holds.html @@ -196,7 +196,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. @@ -252,7 +252,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. @@ -340,7 +340,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. @@ -412,7 +412,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. @@ -527,7 +527,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. @@ -583,7 +583,7 @@

Method Details

"includeSharedDriveFiles": True or False, # To include files in shared drives in the hold, set to **true**. "includeTeamDriveFiles": True or False, # To include files in Team Drives in the hold, set to **true**. }, - "geminiQuery": { # Options for Gemini holds. # Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**. + "geminiQuery": { # Options for Gemini app holds. # Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**. }, "groupsQuery": { # Query options for group holds. # Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**. "endTime": "A String", # The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date. diff --git a/docs/dyn/vault_v1.matters.html b/docs/dyn/vault_v1.matters.html index 0d5954f62a..b6c2e7ac11 100644 --- a/docs/dyn/vault_v1.matters.html +++ b/docs/dyn/vault_v1.matters.html @@ -243,7 +243,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. diff --git a/docs/dyn/vault_v1.matters.savedQueries.html b/docs/dyn/vault_v1.matters.savedQueries.html index 53fa1a88f3..bb5ff9803b 100644 --- a/docs/dyn/vault_v1.matters.savedQueries.html +++ b/docs/dyn/vault_v1.matters.savedQueries.html @@ -149,7 +149,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -245,7 +247,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -368,7 +372,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. @@ -476,7 +482,9 @@

Method Details

"versionDate": "A String", # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC. }, "endTime": "A String", # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. - "geminiOptions": { # Additional options for Gemini search # Set Gemini search-specific options. + "geminiInWorkspaceOptions": { # Additional options for Gemini in Workspace search # Set Gemini in Workspace search-specific options. + }, + "geminiOptions": { # Additional options for Gemini app search # Set Gemini app search-specific options. }, "hangoutsChatInfo": { # The Chat spaces to search # Required when **SearchMethod** is **ROOM**. (read-only) "roomId": [ # A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request. diff --git a/docs/dyn/webcontentpublisher_v1.organizations.publications.ctas.html b/docs/dyn/webcontentpublisher_v1.organizations.publications.ctas.html index a51b1483c5..293e2d5612 100644 --- a/docs/dyn/webcontentpublisher_v1.organizations.publications.ctas.html +++ b/docs/dyn/webcontentpublisher_v1.organizations.publications.ctas.html @@ -117,7 +117,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -129,7 +129,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -140,6 +140,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. } @@ -163,7 +164,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -175,7 +176,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -186,6 +187,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. }
@@ -215,7 +217,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -227,7 +229,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -238,6 +240,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. }
@@ -271,7 +274,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -283,7 +286,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -294,6 +297,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. }, @@ -335,7 +339,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -347,7 +351,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -358,6 +362,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. } @@ -381,7 +386,7 @@

Method Details

"optInRequired": True or False, # Optional. Whether checking the opt-in checkbox is required. "title": "A String", # Required. The title of the newsletter signup prompt. }, - "state": "A String", # Output only. The current state of this CTA. + "state": "A String", # Optional. The current state of this CTA. "surveyConfig": { # Configuration for survey calls-to-action (CTAs). # Optional. Configuration specific to survey CTAs. Only populated if type is `SURVEY`. "customMessage": "A String", # Optional. Header prompt shown to readers. If omitted, the server populates the default prompt localized to the parent publication's configured primary language. "questions": [ # Optional. Ordered list of questions presented in the survey (1-3 items when `ACTIVE`; 0-3 when `DRAFT`). @@ -393,7 +398,7 @@

Method Details

}, ], "categoryLabel": "A String", # Optional. Reporting category label sent to Google Analytics (up to 100 characters). - "displayText": "A String", # Required. The question prompt displayed to readers. + "displayText": "A String", # Optional. The question prompt displayed to readers (up to 140 characters). "id": "A String", # Output only. Server-assigned unique identifier for the custom question. }, "presetQuestion": { # A preset question referencing a template in the survey question catalog. # Optional. A question selected from the preset question catalog. @@ -404,6 +409,7 @@

Method Details

}, }, ], + "reportUrl": "A String", # Output only. Link to the Looker Studio dashboard. }, "type": "A String", # Required. The type of this CTA. }
diff --git a/docs/dyn/workflowexecutions_v1.projects.locations.workflows.html b/docs/dyn/workflowexecutions_v1.projects.locations.workflows.html index c4bae3a536..4a37890ce9 100644 --- a/docs/dyn/workflowexecutions_v1.projects.locations.workflows.html +++ b/docs/dyn/workflowexecutions_v1.projects.locations.workflows.html @@ -103,7 +103,7 @@

Method Details

{ # Request for the TriggerPubsubExecution method. "GCPCloudEventsMode": "A String", # Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers. "deliveryAttempt": 42, # The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the "dead letter" feature enabled, and hence provided here for compatibility, but is ignored by Workflows. - "message": { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits. # Required. The message of the Pub/Sub push notification. + "message": { # A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits. # Required. The message of the Pub/Sub push notification. "attributes": { # Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription. "a_key": "A String", }, diff --git a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json index a92b2cd59a..5ca1dfe68e 100644 --- a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +++ b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json @@ -135,7 +135,7 @@ ], "parameters": { "name": { -"description": "Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}`", +"description": "Required. Resource name for the access policy to delete. Format: `accessPolicies/{policy_id}`", "location": "path", "pattern": "^accessPolicies/[^/]+$", "required": true, @@ -160,7 +160,7 @@ ], "parameters": { "name": { -"description": "Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}`", +"description": "Required. Resource name for the access policy to get. Format: `accessPolicies/{policy_id}`", "location": "path", "pattern": "^accessPolicies/[^/]+$", "required": true, @@ -392,7 +392,7 @@ ], "parameters": { "accessLevelFormat": { -"description": "Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent `CustomLevels`.", +"description": "Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to `AS_DEFINED`, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to `CEL`, all Access Levels are returned as `CustomLevels`. In the `CEL` case, `BasicLevels` are translated to equivalent `CustomLevels`.", "enum": [ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", @@ -400,8 +400,8 @@ ], "enumDescriptions": [ "The format was not specified.", -"Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", -"Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." +"Uses the format the resource was defined in. `BasicLevels` are returned as `BasicLevels`, and `CustomLevels` are returned as `CustomLevels`.", +"Uses Cloud Common Expression Language when returning the resource. Both `BasicLevels` and `CustomLevels` are returned as `CustomLevels`." ], "location": "query", "type": "string" @@ -432,7 +432,7 @@ ], "parameters": { "accessLevelFormat": { -"description": "Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined.", +"description": "Whether to return `BasicLevels` in the Cloud Common Expression Language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined.", "enum": [ "LEVEL_FORMAT_UNSPECIFIED", "AS_DEFINED", @@ -440,8 +440,8 @@ ], "enumDescriptions": [ "The format was not specified.", -"Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", -"Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." +"Uses the format the resource was defined in. `BasicLevels` are returned as `BasicLevels`, and `CustomLevels` are returned as `CustomLevels`.", +"Uses Cloud Common Expression Language when returning the resource. Both `BasicLevels` and `CustomLevels` are returned as `CustomLevels`." ], "location": "query", "type": "string" @@ -508,7 +508,7 @@ ] }, "replaceAll": { -"description": "Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error.", +"description": "Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the replacement is cancelled, and existing access levels are not affected. The `Operation.response` field contains `ReplaceAccessLevelsResponse`. Removing access levels contained in existing service perimeters results in an error.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/accessLevels:replaceAll", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.accessLevels.replaceAll", @@ -568,7 +568,7 @@ "authorizedOrgsDescs": { "methods": { "create": { -"description": "Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.", +"description": "Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.create", @@ -605,7 +605,7 @@ ], "parameters": { "name": { -"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}`", +"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}`", "location": "path", "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", "required": true, @@ -630,7 +630,7 @@ ], "parameters": { "name": { -"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}`", +"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_desc_id}`", "location": "path", "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", "required": true, @@ -682,7 +682,7 @@ ] }, "patch": { -"description": "Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type and authorization_direction cannot be updated.", +"description": "Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If an authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The `name`, `authorization_type`, `asset_type`, and `authorization_direction` cannot be updated.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}", "httpMethod": "PATCH", "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.patch", @@ -720,7 +720,7 @@ "servicePerimeters": { "methods": { "commit": { -"description": "Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a successful commit operation.", +"description": "Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status` field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an error response and the entire commit operation is cancelled. When successful, the `Operation.response` field contains `CommitServicePerimetersResponse`. The `dry_run` and the `spec` fields are cleared after a successful commit operation.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/servicePerimeters:commit", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.servicePerimeters.commit", @@ -825,7 +825,7 @@ "type": "string" }, "name": { -"description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`", +"description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`", "location": "path", "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", "required": true, @@ -941,7 +941,7 @@ ] }, "replaceAll": { -"description": "Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.", +"description": "Replaces all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error, replacements are cancelled and existing service perimeters are not affected. The `Operation.response` field contains `ReplaceServicePerimetersResponse`.", "flatPath": "v1/accessPolicies/{accessPoliciesId}/servicePerimeters:replaceAll", "httpMethod": "POST", "id": "accesscontextmanager.accessPolicies.servicePerimeters.replaceAll", @@ -1003,7 +1003,7 @@ "folders": { "methods": { "lookupConfiguredServicePerimeter": { -"description": "Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].", +"description": "Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.", "flatPath": "v1/folders/{foldersId}:lookupConfiguredServicePerimeter", "httpMethod": "GET", "id": "accesscontextmanager.folders.lookupConfiguredServicePerimeter", @@ -1012,7 +1012,7 @@ ], "parameters": { "resource": { -"description": "Required. The Resource to resolve (e.g. \"projects/123\", \"folders/456\").", +"description": "Required. The resource to resolve (for example, `projects/123` or `folders/456`).", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1249,7 +1249,7 @@ ], "parameters": { "filter": { -"description": "Optional. The literal filter to apply to the results returned. See https://google.aip.dev/160 for more details. Accepts values: * `principal:group_key` * `principal:service_account` OR `principal:service_account_project_number`. If this field is empty or not one of the above, the default value is `\"principal:group_key\"`.", +"description": "Optional. Filters the results by principal type. Uses the [AIP-160](https://google.aip.dev/160) filter syntax. Only the following filters are supported: * `principal:group_key`: bindings for groups. This is the default when the filter is empty. * `principal:service_account OR principal:service_account_project_number`: bindings for service accounts. * `principal:federated_principal`: bindings for federated principals. Values can be in snake_case or camelCase. Whitespace and the order of `OR` terms don't matter. Any other filter returns an `INVALID_ARGUMENT` error.", "location": "query", "type": "string" }, @@ -1290,19 +1290,19 @@ ], "parameters": { "append": { -"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with session_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when \"scoped_access_settings\" is not set in the update_mask.", +"description": "Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only `scoped_access_settings` with `session_settings` supports appending. Global `access_levels`, `access_levels` in `scoped_access_settings`, `dry_run_access_levels`, and `session_settings` are not compatible with append functionality, and the request will return an error if `append=true` when these settings are in the `update_mask`. The request will also return an error if `append=true` when `\"scoped_access_settings\"` is not set in the `update_mask`.", "location": "query", "type": "boolean" }, "name": { -"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"", +"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `\"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"`", "location": "path", "pattern": "^organizations/[^/]+/gcpUserAccessBindings/[^/]+$", "required": true, "type": "string" }, "updateMask": { -"description": "Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `session_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }", +"description": "Required. Only the fields specified in this mask are updated. Because `name` and `group_key` cannot be changed, `update_mask` is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `session_settings`, `scoped_access_settings`. update_mask { paths: \"access_levels\" }", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1333,7 +1333,7 @@ "parameterOrder": [], "parameters": { "pageSize": { -"description": "Optional. This flag specifies the maximum number of services to return per page. Default value is 100.", +"description": "Optional. This flag specifies the maximum number of permissions to return per page. Default value is 100.", "format": "int32", "location": "query", "type": "integer" @@ -1357,7 +1357,7 @@ "projects": { "methods": { "lookupConfiguredServicePerimeter": { -"description": "Looks up the configured service perimeter for a given resource Format: ['projects/{projectNumber}', 'folders/{folderNumber}'].", +"description": "Looks up the configured service perimeter for a given resource. Format: `['projects/{projectNumber}', 'folders/{folderNumber}']`.", "flatPath": "v1/projects/{projectsId}:lookupConfiguredServicePerimeter", "httpMethod": "GET", "id": "accesscontextmanager.projects.lookupConfiguredServicePerimeter", @@ -1366,7 +1366,7 @@ ], "parameters": { "resource": { -"description": "Required. The Resource to resolve (e.g. \"projects/123\", \"folders/456\").", +"description": "Required. The resource to resolve (for example, `projects/123` or `folders/456`).", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -1439,7 +1439,7 @@ } } }, -"revision": "20261011", +"revision": "20261027", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1469,7 +1469,7 @@ "type": "string" }, "title": { -"description": "Human readable title. Must be unique within the Policy.", +"description": "Human-readable title. Must be unique within the policy.", "type": "string" } }, @@ -1480,7 +1480,7 @@ "id": "AccessPolicy", "properties": { "etag": { -"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two access policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", "readOnly": true, "type": "string" }, @@ -1493,21 +1493,21 @@ "type": "string" }, "scopes": { -"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy that includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", "items": { "type": "string" }, "type": "array" }, "title": { -"description": "Required. Human readable title. Does not affect behavior.", +"description": "Required. Human-readable title. Does not affect behavior.", "type": "string" } }, "type": "object" }, "AccessScope": { -"description": "Access scope represents the client scope, etc. to which the settings will be applied to.", +"description": "Access scope represents the client scope to which the settings are applied.", "id": "AccessScope", "properties": { "clientScope": { @@ -1522,7 +1522,7 @@ "id": "AccessSettings", "properties": { "accessLevels": { -"description": "Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: \"accessPolicies/9522/accessLevels/device_trusted\"", +"description": "Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `\"accessPolicies/9522/accessLevels/device_trusted\"`", "items": { "type": "string" }, @@ -1530,7 +1530,7 @@ }, "sessionSettings": { "$ref": "SessionSettings", -"description": "Optional. Session settings applied to user access on a given AccessScope." +"description": "Optional. Session settings applied to user access on a given `AccessScope`." } }, "type": "object" @@ -1636,7 +1636,7 @@ "id": "AuthorizedOrgsDesc", "properties": { "assetType": { -"description": "The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`.", +"description": "The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.", "enum": [ "ASSET_TYPE_UNSPECIFIED", "ASSET_TYPE_DEVICE", @@ -1650,7 +1650,7 @@ "type": "string" }, "authorizationDirection": { -"description": "The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource.", +"description": "The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorizes organizations B and C to evaluate its traffic by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource.", "enum": [ "AUTHORIZATION_DIRECTION_UNSPECIFIED", "AUTHORIZATION_DIRECTION_TO", @@ -1680,7 +1680,7 @@ "type": "string" }, "orgs": { -"description": "The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456`", +"description": "The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `organizations/{org_number}` Example: `organizations/123456`", "items": { "type": "string" }, @@ -1694,7 +1694,7 @@ "id": "BasicLevel", "properties": { "combiningFunction": { -"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is `AND`.", "enum": [ "AND", "OR" @@ -1744,7 +1744,7 @@ "type": "object" }, "ClientScope": { -"description": "Client scope represents the application, etc. subject to this binding's restrictions.", +"description": "Client scope represents the application, project, or other resource subject to this binding's restrictions.", "id": "ClientScope", "properties": { "restrictedClientApplication": { @@ -1784,15 +1784,15 @@ "type": "object" }, "Condition": { -"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"description": "A condition necessary for an `AccessLevel` to be granted. The `Condition` is an AND over its fields. A `Condition` is true if: 1) the request IP is from one of the listed subnetworks, AND 2) the originating device complies with the listed device policy, AND 3) all listed access levels are granted, AND 4) the request was sent at a time allowed by the `DateTimeRestriction`.", "id": "Condition", "properties": { "devicePolicy": { "$ref": "DevicePolicy", -"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +"description": "Device-specific restrictions. All restrictions must hold for the `Condition` to be true. If not specified, all devices are allowed." }, "ipSubnetworks": { -"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `\"192.0.2.0/24\"` is accepted, but `\"192.0.2.1/24\"` is not. Similarly, for IPv6, `\"2001:db8::/32\"` is accepted, whereas `\"2001:db8::1/32\"` is not. The originating IP of a request must be in one of the listed subnets in order for this `Condition` to be true. If empty, all IP addresses are allowed.", "items": { "type": "string" }, @@ -1806,7 +1806,7 @@ "type": "array" }, "negate": { -"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"description": "Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to `false` will result in the `Condition` being satisfied. Defaults to `false`.", "type": "boolean" }, "regions": { @@ -1817,7 +1817,7 @@ "type": "array" }, "requiredAccessLevels": { -"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` that does not exist is an error. All access levels listed must be granted for the `Condition` to be true. Example: `\"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", "items": { "type": "string" }, @@ -1845,11 +1845,11 @@ "type": "object" }, "DevicePolicy": { -"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"description": "`DevicePolicy` specifies device-specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels; it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is `{ os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}`, then the `DevicePolicy` will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", "id": "DevicePolicy", "properties": { "allowedDeviceManagementLevels": { -"description": "Allowed device management levels, an empty list allows all management levels.", +"description": "Allowed device management levels. An empty list allows all management levels.", "items": { "enum": [ "MANAGEMENT_UNSPECIFIED", @@ -1868,7 +1868,7 @@ "type": "array" }, "allowedEncryptionStatuses": { -"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"description": "Allowed encryption statuses. An empty list allows all statuses.", "items": { "enum": [ "ENCRYPTION_UNSPECIFIED", @@ -1887,7 +1887,7 @@ "type": "array" }, "osConstraints": { -"description": "Allowed OS versions, an empty list allows all types and all versions.", +"description": "Allowed OS versions. An empty list allows all types and all versions.", "items": { "$ref": "OsConstraint" }, @@ -1898,18 +1898,18 @@ "type": "boolean" }, "requireCorpOwned": { -"description": "Whether the device needs to be corp owned.", +"description": "Whether the device needs to be corp-owned.", "type": "boolean" }, "requireScreenlock": { -"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"description": "Whether or not screenlock is required for the `DevicePolicy` to be true. Defaults to `false`.", "type": "boolean" } }, "type": "object" }, "EgressFrom": { -"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", "id": "EgressFrom", "properties": { "identities": { @@ -1936,7 +1936,7 @@ "type": "string" }, "sourceRestriction": { -"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` field is not empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", "enum": [ "SOURCE_RESTRICTION_UNSPECIFIED", "SOURCE_RESTRICTION_ENABLED", @@ -1960,7 +1960,7 @@ "type": "object" }, "EgressPolicy": { -"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates to, as well as the API services and API actions being used. They do not relate to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", "id": "EgressPolicy", "properties": { "egressFrom": { @@ -1972,7 +1972,7 @@ "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." }, "title": { -"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", "type": "string" } }, @@ -1991,7 +1991,7 @@ "description": "A PrivateServiceConnectEndpoint that is allowed to access data outside the perimeter. The Private Service Connect endpoint may be in any organization, not just the organization that the perimeter is defined in." }, "resource": { -"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`. You can't use `*` in this field to allow all Google Cloud resources.", +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`. You can't use `*` in this field to allow all Google Cloud resources.", "type": "string" } }, @@ -2002,7 +2002,7 @@ "id": "EgressTo", "properties": { "externalResources": { -"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are `s3://BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage, the supported format is `azure://myaccount.blob.core.windows.net/CONTAINER_NAME`. A request matches if it contains an external resource in this list (Example: `s3://bucket/path`). Currently `'*'` is not allowed.", "items": { "type": "string" }, @@ -2016,14 +2016,14 @@ "type": "array" }, "resources": { -"description": "A list of resources, currently projects, folders, and organizations in the form `projects/`, `folders/`, and `organizations/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"description": "A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", "items": { "type": "string" }, "type": "array" }, "roles": { -"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom are allowed to perform in this ServicePerimeter.", "items": { "type": "string" }, @@ -2066,25 +2066,25 @@ "id": "GcpUserAccessBinding", "properties": { "accessLevels": { -"description": "Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: \"accessPolicies/9522/accessLevels/device_trusted\"", +"description": "Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: `\"accessPolicies/9522/accessLevels/device_trusted\"`", "items": { "type": "string" }, "type": "array" }, "dryRunAccessLevels": { -"description": "Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: \"accessPolicies/9522/accessLevels/device_trusted\"", +"description": "Optional. Dry-run access level that is evaluated, but not enforced. Any access denial based on the dry-run policy is logged. Only one access level is supported, not multiple. This list must have exactly one element. Example: `\"accessPolicies/9522/accessLevels/device_trusted\"`", "items": { "type": "string" }, "type": "array" }, "groupKey": { -"description": "Optional. Immutable. Google Group id whose users are subject to this binding's restrictions. See \"id\" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: \"01d520gv4vjcrht\"", +"description": "Optional. Immutable. Google Group ID whose users are subject to this binding's restrictions. See \"id\" in the [Google Workspace Directory API's Group Resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address or alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: `\"01d520gv4vjcrht\"`", "type": "string" }, "name": { -"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"", +"description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: `\"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"`", "type": "string" }, "principal": { @@ -2184,7 +2184,7 @@ "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." }, "title": { -"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and cannot exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", "type": "string" } }, @@ -2195,7 +2195,7 @@ "id": "IngressSource", "properties": { "accessLevel": { -"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"description": "An AccessLevel resource name that allows resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", "type": "string" }, "pscEndpoint": { @@ -2221,7 +2221,7 @@ "type": "array" }, "resources": { -"description": "A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"description": "A list of resources, currently projects, folders, and organizations in the form `projects/{project_number}`, `folders/{folder_id}`, and `organizations/{organization_id}`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter is allowed.", "items": { "type": "string" }, @@ -2393,11 +2393,11 @@ "id": "LookupConfiguredServicePerimeterResponse", "properties": { "restrictedResource": { -"description": "The resource (e.g. \"projects/123\", \"folders/456\") that directly owns/is restricted by the enforced perimeter.", +"description": "The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the enforced perimeter.", "type": "string" }, "restrictedResourceDryRun": { -"description": "The resource (e.g. \"projects/123\", \"folders/456\") that directly owns/is restricted by the dry-run perimeter.", +"description": "The resource (for example, `projects/123` or `folders/456`) that directly owns or is restricted by the dry-run perimeter.", "type": "string" }, "servicePerimeter": { @@ -2505,7 +2505,7 @@ "type": "string" }, "requireVerifiedChromeOs": { -"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"description": "Only allows requests from devices with a verified Chrome OS. Verification includes requirements that the device is enterprise-managed, conforms to domain policies, and the caller has permission to call the API targeted by the request.", "type": "boolean" } }, @@ -2551,7 +2551,7 @@ "type": "string" }, "serviceAccount": { -"description": "Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (e.g., if there is a policy for all service accounts in a project and a policy for the service account), the closest (i.e. the most specific) dry-run policy will be used for the dry-run functionality and the closest enforcement policy will be used for the enforcement.", +"description": "Immutable. Service account email used to assign policies to a specific service account. If a service account is subject to multiple policies (for example, if there is a policy for all service accounts in a project and a policy for the service account), the closest (that is, the most specific) dry-run policy is used for the dry-run functionality and the closest enforcement policy is used for enforcement.", "type": "string" }, "serviceAccountProjectNumber": { @@ -2573,7 +2573,7 @@ "type": "object" }, "Project": { -"description": "A Google Cloud project which contains applications and resources that users can access.", +"description": "A Google Cloud project that contains applications and resources that users can access.", "id": "Project", "properties": { "name": { @@ -2648,20 +2648,20 @@ "type": "object" }, "ScopedAccessSettings": { -"description": "A relationship between access settings and its scope.", +"description": "A relationship between access settings and their scope.", "id": "ScopedAccessSettings", "properties": { "activeSettings": { "$ref": "AccessSettings", -"description": "Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set." +"description": "Optional. Access settings for this `ScopedAccessSettings`. This field may be empty if `dry_run_settings` is set." }, "dryRunSettings": { "$ref": "AccessSettings", -"description": "Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set." +"description": "Optional. Dry-run access settings for this `ScopedAccessSettings`. This field may be empty if `active_settings` is set." }, "scope": { "$ref": "AccessScope", -"description": "Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty." +"description": "Optional. Application or other resource to which the access settings are applied. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty." } }, "type": "object" @@ -2678,7 +2678,7 @@ "type": "array" }, "pattern": { -"description": "URL pattern to allow. Only patterns of \".googleapis.com/*\", \"www.googleapis.com//*\" and \"*.appspot.com/* forms are supported, where should be an alphanumeric name.", +"description": "URL pattern to allow. Only patterns of `\".googleapis.com/*\"`, `\"www.googleapis.com//*\"`, and `\"*.appspot.com/*\"` forms are supported, where `` should be an alphanumeric name.", "type": "string" }, "service": { @@ -2705,7 +2705,7 @@ "type": "string" }, "perimeterType": { -"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of a single regular perimeter, but multiple service perimeter bridges. A project cannot be included in a perimeter bridge without being included in a regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", "enum": [ "PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE" @@ -2718,18 +2718,18 @@ }, "spec": { "$ref": "ServicePerimeterConfig", -"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows you to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the `use_explicit_dry_run_spec` flag is set." }, "status": { "$ref": "ServicePerimeterConfig", -"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services, and access levels that determine perimeter content and boundaries." }, "title": { "description": "Human readable title. Must be unique within the Policy.", "type": "string" }, "useExplicitDryRunSpec": { -"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. `use_explicit_dry_run_spec` must be set to `true` if any of the fields in the spec are set to non-default values.", "type": "boolean" } }, @@ -2782,7 +2782,7 @@ "type": "object" }, "SessionSettings": { -"description": "Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings.", +"description": "Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces when their session expires, and other related settings.", "id": "SessionSettings", "properties": { "maxInactivity": { @@ -2791,16 +2791,16 @@ "type": "string" }, "sessionLength": { -"description": "Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` param. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.", +"description": "Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely. Also, setting `session_length_enabled` to `false` disregards session limits, which means that sessions never expire. If `use_oidc_max_age` is `true`, for OIDC apps, the session length will be the minimum of this field and the OIDC `max_age` parameter. If this field is set to zero, `session_length_enabled` must be set to `false` or left unset.", "format": "google-duration", "type": "string" }, "sessionLengthEnabled": { -"description": "Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite. If `session_length` is set to zero, this field must be set to false.", +"description": "Optional. This field enables or disables Google Cloud session length. When `false`, all fields set above are disregarded and the session length is effectively infinite. If `session_length` is set to zero, this field must be set to `false`.", "type": "boolean" }, "sessionReauthMethod": { -"description": "Optional. Session method when user's Google Cloud session is up.", +"description": "Optional. Session challenge method when a user's Google Cloud session expires.", "enum": [ "SESSION_REAUTH_METHOD_UNSPECIFIED", "LOGIN", @@ -2808,15 +2808,15 @@ "PASSWORD" ], "enumDescriptions": [ -"If method is undefined in the API, LOGIN will be used by default.", +"If the method is undefined in the API, `LOGIN` is used by default.", "The user will be prompted to perform regular login. Users who are enrolled for two-step verification and haven't chosen \"Remember this computer\" will be prompted for their second factor.", -"The user will be prompted to authenticate using their security key. If no security key has been configured, then authentication will fallback to LOGIN.", +"The user will be prompted to authenticate using their security key. If no security key has been configured, then authentication will fall back to `LOGIN`.", "The user will be prompted for their password." ], "type": "string" }, "useOidcMaxAge": { -"description": "Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.", +"description": "Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age` parameter, if passed in the authentication request, is ignored. When `true`, the re-authentication period is the minimum of the `session_length` field and the `max_age` OIDC parameter.", "type": "boolean" } }, @@ -2866,7 +2866,7 @@ "type": "object" }, "SupportedService": { -"description": "`SupportedService` specifies the VPC Service Controls and its properties.", +"description": "`SupportedService` specifies a service supported by VPC Service Controls and its properties.", "id": "SupportedService", "properties": { "availableOnRestrictedVip": { @@ -2892,7 +2892,7 @@ "enumDescriptions": [ "Do not use this default value.", "GA features are open to all developers and are considered stable and fully qualified for production use.", -"PREVIEW indicates a pre-release stage where the product is functionally complete but undergoing real-world testing.", +"PREVIEW indicates a pre-release stage where the product is functionally complete, but undergoing real-world testing.", "Deprecated features are scheduled to be shut down and removed." ], "type": "string" @@ -2922,14 +2922,14 @@ "type": "string" }, "supportedMethods": { -"description": "The list of the supported methods. This field exists only in response to GetSupportedService", +"description": "The list of supported methods. This field exists only in response to GetSupportedService.", "items": { "$ref": "MethodSelector" }, "type": "array" }, "title": { -"description": "The name of the supported product, such as 'Cloud Product API'.", +"description": "The name of the supported product, such as `'Cloud Product API'`.", "type": "string" } }, @@ -2975,14 +2975,14 @@ "type": "array" }, "allowedServices": { -"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless `enable_restriction` is `true`. You can specify a list of individual services, as well as include the `'RESTRICTED-SERVICES'` value, which automatically includes all of the services protected by the perimeter.", "items": { "type": "string" }, "type": "array" }, "enableRestriction": { -"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in `allowed_services`.", "type": "boolean" }, "servicePatternsEnforcementScopes": { @@ -2994,7 +2994,7 @@ ], "enumDescriptions": [ "Default value. This cannot be used.", -"Enables VPC Accessible Services enforcement for all APIs (including unsupported APIs) for Private Google Access configured with Private VIP and Private Service Connect Endpoint for Global Google APIs that uses 'all-apis' bundle." +"Enables VPC Accessible Services enforcement for all APIs (including unsupported APIs) for Private Google Access configured with Private VIP and Private Service Connect Endpoint for Global Google APIs that use the `'all-apis'` bundle." ], "type": "string" }, @@ -3015,7 +3015,7 @@ "type": "object" }, "VpcSubNetwork": { -"description": "Sub-segment ranges inside of a VPC Network.", +"description": "Sub-segment ranges inside of a VPC network.", "id": "VpcSubNetwork", "properties": { "network": { @@ -3023,7 +3023,7 @@ "type": "string" }, "vpcIpSubnetworks": { -"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (that is, all the host bits must be zero) or the input is considered malformed. For example, `\"192.0.2.0/24\"` is accepted, but `\"192.0.2.1/24\"` is not. If empty, all IP addresses are allowed.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/agentidentity.v1.json b/googleapiclient/discovery_cache/documents/agentidentity.v1.json index 5137da1bda..53bc92c22b 100644 --- a/googleapiclient/discovery_cache/documents/agentidentity.v1.json +++ b/googleapiclient/discovery_cache/documents/agentidentity.v1.json @@ -607,6 +607,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"resolveAuthorization": { +"description": "Resolves an authorization for a user on an auth provider, creating one if it does not exist or returning an existing one.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authProviders/{authProvidersId}:resolveAuthorization", +"httpMethod": "POST", +"id": "agentidentity.projects.locations.authProviders.resolveAuthorization", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the auth provider to resolve authorization for. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authProviders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resolveAuthorization", +"request": { +"$ref": "ResolveAuthorizationRequest" +}, +"response": { +"$ref": "ResolveAuthorizationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "revokeAuthorization": { "description": "Revokes all authorizations for a specific user on an auth provider. This deletes all authorization records associated with the user and auth provider, effectively revoking access across all agents.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authProviders/{authProvidersId}:revokeAuthorization", @@ -920,7 +948,7 @@ } } }, -"revision": "20260924", +"revision": "20261022", "rootUrl": "https://agentidentity.googleapis.com/", "schemas": { "AccessSummary": { @@ -939,14 +967,18 @@ "AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH", "AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH", "AUTH_PROVIDER_TYPE_API_KEY", -"AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE" +"AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE", +"AUTH_PROVIDER_TYPE_CROSS_APP_ACCESS", +"AUTH_PROVIDER_TYPE_CONNECTOR_REFERENCE" ], "enumDescriptions": [ "Unspecified auth provider type.", "3-legged OAuth (3LO) auth provider type.", "2-legged OAuth (2LO) auth provider type.", "API key auth provider type.", -"Gemini Enterprise auth provider type." +"Gemini Enterprise auth provider type.", +"Cross-App Access auth provider type.", +"Connector Reference auth provider type." ], "readOnly": true, "type": "string" @@ -1007,6 +1039,12 @@ }, "type": "object" }, +"AgentIdentityPool": { +"description": "Marker message to indicate the managed Agent Identity Pool is used.", +"id": "AgentIdentityPool", +"properties": {}, +"type": "object" +}, "ApiKeyParams": { "description": "Configuration for API key authentication.", "id": "ApiKeyParams", @@ -1159,6 +1197,10 @@ "$ref": "ApiKeyParams", "description": "Parameters for API key authentication." }, +"connectorReferenceAuthProvider": { +"$ref": "ConnectorReferenceAuthProvider", +"description": "Parameters for Connector Reference authentication." +}, "geAuthProvider": { "$ref": "GeminiEnterpriseAuthProviderParams", "description": "Parameters for Gemini Enterprise authentication." @@ -1170,6 +1212,10 @@ "twoLeggedOauth": { "$ref": "TwoLeggedOAuth", "description": "Parameters for 2-legged OAuth (2LO) authentication." +}, +"xaaAuthProvider": { +"$ref": "CrossAppAccessAuthProvider", +"description": "Parameters for Cross-App Access authentication." } }, "type": "object" @@ -1247,6 +1293,117 @@ }, "type": "object" }, +"ClientAssertionJwtAuth": { +"description": "Configuration for client ID and client assertion JWT authentication.", +"id": "ClientAssertionJwtAuth", +"properties": { +"clientId": { +"description": "Required. The client identifier.", +"type": "string" +} +}, +"type": "object" +}, +"ClientSecretAuth": { +"description": "Configuration for client ID and client secret authentication.", +"id": "ClientSecretAuth", +"properties": { +"clientId": { +"description": "Required. The client identifier.", +"type": "string" +}, +"clientSecret": { +"description": "Required. Input only. The client secret.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorReferenceAuthProvider": { +"description": "Configuration parameters for the Connector Reference auth provider.", +"id": "ConnectorReferenceAuthProvider", +"properties": { +"authorizationDetails": { +"description": "Optional. Rich Authorization Requests (RFC 9396) detailing targeted OAuth resources/scopes, formatted as a JSON array of JSON objects.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"connector": { +"description": "Required. The name of the referenced connector.", +"type": "string" +} +}, +"type": "object" +}, +"CrossAppAccessAuthProvider": { +"description": "Configuration parameters for the Cross-App Access auth provider.", +"id": "CrossAppAccessAuthProvider", +"properties": { +"additionalParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional parameters to be passed to the token endpoint.", +"type": "object" +}, +"clientAssertionJwtAuth": { +"$ref": "ClientAssertionJwtAuth", +"description": "Option 2: Authenticate using a standard `client_id` and a Client Assertion JWT." +}, +"clientSecretAuth": { +"$ref": "ClientSecretAuth", +"description": "Option 1: Authenticate using a standard `client_id` and `client_secret`." +}, +"customIssuer": { +"$ref": "CustomIssuer", +"description": "Configuration when using a custom or third-party authorization server as the issuer." +}, +"googleAccount": { +"$ref": "GoogleAccount", +"description": "Configuration when using Google Accounts as the issuer." +}, +"idJagInput": { +"$ref": "DirectIdJagInput", +"description": "Configuration for when the input is already an ID-JAG." +}, +"idTokenInput": { +"$ref": "IdTokenProcessingConfig", +"description": "Configuration for when the input is an ID token." +}, +"workforceIdentityFederation": { +"$ref": "WorkforceIdentityFederation", +"description": "Configuration when using Workforce Identity Federation as the issuer." +} +}, +"type": "object" +}, +"CustomIssuer": { +"description": "Configuration for a custom or third-party authorization server issuer.", +"id": "CustomIssuer", +"properties": { +"issuer": { +"description": "Optional. The issuer identifier of the target Authorization Server.", +"type": "string" +}, +"tokenUrl": { +"description": "Required. The token endpoint of the target OAuth authorization server to retrieve resource tokens.", +"type": "string" +} +}, +"type": "object" +}, +"DirectIdJagInput": { +"description": "Marker message indicating the input is already an ID-JAG, so no fetching is required.", +"id": "DirectIdJagInput", +"properties": {}, +"type": "object" +}, "DisableAuthProviderRequest": { "description": "Request message for `DisableAuthProvider`.", "id": "DisableAuthProviderRequest", @@ -1304,6 +1461,35 @@ "properties": {}, "type": "object" }, +"GoogleAccount": { +"description": "Configuration for Google Account usage as the issuer.", +"id": "GoogleAccount", +"properties": {}, +"type": "object" +}, +"IdTokenProcessingConfig": { +"description": "Defines how to process an input ID token to obtain an ID-JAG.", +"id": "IdTokenProcessingConfig", +"properties": { +"agentIdentityPool": { +"$ref": "AgentIdentityPool", +"description": "Indicates the managed Agent Identity pool should be used to fetch the ID-JAG." +}, +"idJagAdditionalClaims": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Optional additional claims to include when fetching an ID-JAG.", +"type": "object" +}, +"idJagAuthProvider": { +"description": "The resource name of the ID-JAG auth provider. Format: \"projects/{project}/locations/{location}/authProviders/{auth_provider}\"", +"type": "string" +} +}, +"type": "object" +}, "ListAccessSummariesResponse": { "description": "Response message for `ListAccessSummaries`.", "id": "ListAccessSummariesResponse", @@ -1498,6 +1684,28 @@ }, "type": "object" }, +"ResolveAuthorizationRequest": { +"description": "Request message for `ResolveAuthorization`.", +"id": "ResolveAuthorizationRequest", +"properties": { +"clientUserId": { +"description": "Required. The user ID of the client for whom the authorization is resolved.", +"type": "string" +} +}, +"type": "object" +}, +"ResolveAuthorizationResponse": { +"description": "Response message for `ResolveAuthorization`.", +"id": "ResolveAuthorizationResponse", +"properties": { +"authorization": { +"description": "The resource name of the resolved authorization. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}/authorizations/{authorization}", +"type": "string" +} +}, +"type": "object" +}, "RevokeAuthorizationRequest": { "description": "Request message for `RevokeAuthorization`.", "id": "RevokeAuthorizationRequest", @@ -1624,6 +1832,12 @@ } }, "type": "object" +}, +"WorkforceIdentityFederation": { +"description": "Configuration for Workforce Identity Federation usage as the issuer.", +"id": "WorkforceIdentityFederation", +"properties": {}, +"type": "object" } }, "servicePath": "", diff --git a/googleapiclient/discovery_cache/documents/agentregistry.v1.json b/googleapiclient/discovery_cache/documents/agentregistry.v1.json index 130c86d9ec..b6724d3698 100644 --- a/googleapiclient/discovery_cache/documents/agentregistry.v1.json +++ b/googleapiclient/discovery_cache/documents/agentregistry.v1.json @@ -2130,7 +2130,7 @@ } } }, -"revision": "20261021", +"revision": "20261029", "rootUrl": "https://agentregistry.googleapis.com/", "schemas": { "A2ASkill": { @@ -2775,10 +2775,6 @@ "description": "Represents a security Finding.", "id": "Finding", "properties": { -"category": { -"description": "Optional. Category of the finding.", -"type": "string" -}, "createTime": { "description": "Output only. Create time.", "format": "google-datetime", @@ -2801,13 +2797,11 @@ "enum": [ "FINDING_CLASS_UNSPECIFIED", "VULNERABILITY", -"OBSERVATION", "SECRET" ], "enumDescriptions": [ "Unspecified finding class.", "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", -"Describes a security observation that is for informational purposes.", "Describes a potential security risk due to plaintext credentials, keys, or tokens being exposed in an asset or workload." ], "type": "string" @@ -3924,7 +3918,7 @@ "type": "string" }, "displayName": { -"description": "Required. Human-readable display name of the skill. Maximum length is 128 characters.", +"description": "Optional. Human-readable display name of the skill. Maximum length is 128 characters.", "type": "string" }, "frontmatter": { @@ -4147,6 +4141,15 @@ "description": "Represents a single tool provided by an MCP Server.", "id": "Tool", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only.", +"readOnly": true, +"type": "object" +}, "annotations": { "$ref": "Annotations", "description": "Output only. Annotations associated with the tool.", diff --git a/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json b/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json index 564c15455f..44abe3c113 100644 --- a/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json @@ -2130,7 +2130,7 @@ } } }, -"revision": "20261021", +"revision": "20261029", "rootUrl": "https://agentregistry.googleapis.com/", "schemas": { "A2ASkill": { @@ -2805,10 +2805,6 @@ "description": "Represents a security Finding.", "id": "Finding", "properties": { -"category": { -"description": "Optional. Category of the finding.", -"type": "string" -}, "createTime": { "description": "Output only. Create time.", "format": "google-datetime", @@ -2831,13 +2827,11 @@ "enum": [ "FINDING_CLASS_UNSPECIFIED", "VULNERABILITY", -"OBSERVATION", "SECRET" ], "enumDescriptions": [ "Unspecified finding class.", "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", -"Describes a security observation that is for informational purposes.", "Describes a potential security risk due to plaintext credentials, keys, or tokens being exposed in an asset or workload." ], "type": "string" @@ -3954,7 +3948,7 @@ "type": "string" }, "displayName": { -"description": "Required. Human-readable display name of the skill. Maximum length is 128 characters.", +"description": "Optional. Human-readable display name of the skill. Maximum length is 128 characters.", "type": "string" }, "frontmatter": { @@ -4177,6 +4171,15 @@ "description": "Represents a single tool provided by an MCP Server.", "id": "Tool", "properties": { +"_meta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Protocol-level tool metadata conforming to MCP _meta specification. Output only.", +"readOnly": true, +"type": "object" +}, "annotations": { "$ref": "Annotations", "description": "Output only. Annotations associated with the tool.", diff --git a/googleapiclient/discovery_cache/documents/aiplatform.v1.json b/googleapiclient/discovery_cache/documents/aiplatform.v1.json index d7855f8b32..7ccc26533f 100644 --- a/googleapiclient/discovery_cache/documents/aiplatform.v1.json +++ b/googleapiclient/discovery_cache/documents/aiplatform.v1.json @@ -7622,6 +7622,11 @@ "parent" ], "parameters": { +"idpNonce": { +"description": "Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for session and device non-repudiation.", +"location": "query", +"type": "string" +}, "parent": { "description": "Required. The resource name of the location to create the agent in. Format: `projects/{project}/locations/{location}`.", "location": "path", @@ -23909,8 +23914,214 @@ }, "publishers": { "resources": { +"files": { +"methods": { +"delete": { +"description": "Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.publishers.files.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to delete. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1DeleteFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}/content", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/content", +"response": { +"$ref": "GoogleCloudAiplatformV1DownloadFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"get": { +"description": "Gets the metadata for the given file.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to get. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ClaudeFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.list", +"parameterOrder": [ +"parent", +"publishersId" +], +"parameters": { +"ids": { +"description": "Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one occurrence per ID.", +"location": "query", +"repeated": true, +"type": "string" +}, +"limit": { +"description": "Optional. The number of files to return per page. Defaults to 20 if unset, maximum 1000. Mutually exclusive with `ids`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"page": { +"description": "Optional. Opaque pagination cursor. Pass the previous response's `next_page` to fetch the next page. Mutually exclusive with `ids`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location to list files under. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"publishersId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publishers/{publishersId}/files", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads a file that can be referenced by ID from subsequent Claude model requests.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.files.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "524288000", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/publishers/{publishersId}/files" +} +} +}, +"parameterOrder": [ +"parent", +"publishersId" +], +"parameters": { +"parent": { +"description": "Required. The location to create the file under. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"publishersId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publishers/{publishersId}/files", +"request": { +"$ref": "GoogleCloudAiplatformV1CreateFileRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ClaudeFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, "models": { "methods": { +"batchEmbedContents": { +"description": "Generates embeddings directly from multiple contents.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:batchEmbedContents", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.batchEmbedContents", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:batchEmbedContents", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchEmbedContentsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchEmbedContentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/aiplatform", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, "computeTokens": { "description": "Return a list of tokens based on the input text.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:computeTokens", @@ -37145,7 +37356,7 @@ } } }, -"revision": "20261012", +"revision": "20261028", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionExperimentsResponse": { @@ -37263,6 +37474,10 @@ "$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig", "description": "Config for Outpainting task." }, +"perfEstimationConfig": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig", +"description": "Optional. Omni Perf 3D estimation configuration." +}, "proEdit": { "$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig", "description": "Configuration for Pro Edit." @@ -37328,6 +37543,37 @@ }, "type": "object" }, +"CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox": { +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"properties": { +"bottom": { +"description": "The bottom coordinate (exclusive) of the bounding box.", +"format": "int32", +"type": "integer" +}, +"frameIndex": { +"description": "The frame index of the bounding box.", +"format": "int32", +"type": "integer" +}, +"left": { +"description": "The left coordinate of the bounding box.", +"format": "int32", +"type": "integer" +}, +"right": { +"description": "The right coordinate (exclusive) of the bounding box.", +"format": "int32", +"type": "integer" +}, +"top": { +"description": "The top coordinate of the bounding box.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig": { "description": "Configuration for color alignment.", "id": "CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig", @@ -37380,7 +37626,7 @@ "type": "string" }, "weight": { -"description": "The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 1.0]. Default is 1.0.", +"description": "The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 2.0]. Default is 1.0.", "format": "float", "type": "number" } @@ -37456,6 +37702,53 @@ }, "type": "object" }, +"CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig": { +"description": "Configuration for Omni Perf 3D estimation.", +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig", +"properties": { +"exportUsd": { +"description": "Optional. Whether to export the USD file.", +"type": "boolean" +}, +"sourceBoundingBox": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"description": "Required. The bounding box of the object in the source video." +}, +"sourceVideo": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestVideo", +"description": "Required. The source video for the 3D estimation." +}, +"targetCharacterReferences": { +"description": "Optional. The character reference images/videos.", +"items": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference" +}, +"type": "array" +}, +"temporalSmoothness": { +"description": "Optional.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference": { +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference", +"properties": { +"boundingBox": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"description": "Required. The bounding box of the character in the reference image/video." +}, +"referenceImage": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestImage" +}, +"referenceVideo": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestVideo" +} +}, +"type": "object" +}, "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig": { "description": "Configuration for Pro Edit.", "id": "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig", @@ -37506,6 +37799,11 @@ ], "type": "string" }, +"steps": { +"description": "Number of diffusion denoising steps (1 or 2).", +"format": "int32", +"type": "integer" +}, "tileSmoothing": { "description": "Smooths the seams between the tiles the model upscales separately.", "type": "boolean" @@ -41718,6 +42016,11 @@ false "description": "A Vertex agent contains instructions and configurations for the LLM to execute a certain task.", "id": "GoogleCloudAiplatformV1Agent", "properties": { +"aiApplication": { +"description": "Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`.", +"readOnly": true, +"type": "string" +}, "base_agent": { "description": "Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead.", "type": "string" @@ -42954,6 +43257,53 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1BatchEmbedContentsRequest": { +"description": "Request message for PredictionService.BatchEmbedContents.", +"id": "GoogleCloudAiplatformV1BatchEmbedContentsRequest", +"properties": { +"requests": { +"description": "Required. Embed requests for the batch. The model in each of these requests must either be empty or match the model specified in `BatchEmbedContentsRequest.model`. All the requests in a batch must have the same output dimensionality and auto truncation parameters.", +"items": { +"$ref": "GoogleCloudAiplatformV1EmbedContentRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchEmbedContentsResponse": { +"description": "Response message for PredictionService.BatchEmbedContents.", +"id": "GoogleCloudAiplatformV1BatchEmbedContentsResponse", +"properties": { +"embeddings": { +"description": "The embeddings for each request, in the same order as provided in the batch request.", +"items": { +"$ref": "GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding" +}, +"type": "array" +}, +"usageMetadata": { +"$ref": "GoogleCloudAiplatformV1UsageMetadata", +"description": "Usage metadata about the response(s)." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding": { +"description": "A list of floats representing an embedding.", +"id": "GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding", +"properties": { +"values": { +"description": "Embedding vector values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest": { "description": "Request message for ModelService.BatchImportEvaluatedAnnotations", "id": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest", @@ -44211,6 +44561,56 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1ClaudeFile": { +"description": "A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.", +"id": "GoogleCloudAiplatformV1ClaudeFile", +"properties": { +"created_at": { +"description": "Output only. The time at which the file was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"downloadable": { +"description": "Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.", +"readOnly": true, +"type": "boolean" +}, +"expires_at": { +"description": "Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"filename": { +"description": "Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:\"|?*\\/` are not accepted.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.", +"readOnly": true, +"type": "string" +}, +"mime_type": { +"description": "Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.", +"readOnly": true, +"type": "string" +}, +"size_bytes": { +"description": "Output only. The size of the file in bytes.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"type": { +"description": "Output only. The object type. Always `file`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1ClientConnectionConfig": { "description": "Configurations (e.g. inference timeout) that are applied on your endpoints.", "id": "GoogleCloudAiplatformV1ClientConnectionConfig", @@ -45189,6 +45589,12 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1CreateFileRequest": { +"description": "Request message for ClaudeFileService.CreateFile.", +"id": "GoogleCloudAiplatformV1CreateFileRequest", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata": { "description": "Runtime operation information for IndexEndpointService.CreateIndexEndpoint.", "id": "GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata", @@ -46244,6 +46650,21 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1DeleteFileResponse": { +"description": "Response message for ClaudeFileService.DeleteFile. Returns `{id, type: \"file_deleted\"}` rather than an empty body, matching the Claude Files API.", +"id": "GoogleCloudAiplatformV1DeleteFileResponse", +"properties": { +"id": { +"description": "The ID of the deleted file.", +"type": "string" +}, +"type": { +"description": "The object type. Always `file_deleted`.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata": { "description": "Details of operations that perform MetadataService.DeleteMetadataStore.", "id": "GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata", @@ -47019,6 +47440,12 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1DownloadFileResponse": { +"description": "Response message for ClaudeFileService.DownloadFile.", +"id": "GoogleCloudAiplatformV1DownloadFileResponse", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1DynamicRetrievalConfig": { "description": "Describes the options to customize dynamic retrieval.", "id": "GoogleCloudAiplatformV1DynamicRetrievalConfig", @@ -47060,6 +47487,10 @@ false "$ref": "GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig", "description": "Optional. Configuration for the EmbedContent request." }, +"model": { +"description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", +"type": "string" +}, "outputDimensionality": { "deprecated": true, "description": "Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.", @@ -52526,6 +52957,11 @@ false }, "type": "array" }, +"continuationToken": { +"description": "Optional. An opaque continuation token used to resume generation from a previous `GenerateContent` or `StreamGenerateContent` response that stopped with `finish_reason` set to `CONTINUATION`.", +"format": "byte", +"type": "string" +}, "generationConfig": { "$ref": "GoogleCloudAiplatformV1GenerationConfig", "description": "Optional. Generation config." @@ -52541,6 +52977,10 @@ false "$ref": "GoogleCloudAiplatformV1ModelArmorConfig", "description": "Optional. Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied." }, +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequestOutputConfig", +"description": "Optional. Configuration for persisting output assets to external storage." +}, "safetySettings": { "description": "Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.", "items": { @@ -52566,6 +53006,17 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1GenerateContentRequestOutputConfig": { +"description": "Configuration for persisting output assets to external storage.", +"id": "GoogleCloudAiplatformV1GenerateContentRequestOutputConfig", +"properties": { +"outputUriPrefix": { +"description": "Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1GenerateContentResponse": { "description": "Response message for [PredictionService.GenerateContent].", "id": "GoogleCloudAiplatformV1GenerateContentResponse", @@ -55886,6 +56337,24 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1ListFilesResponse": { +"description": "Response message for ClaudeFileService.ListFiles.", +"id": "GoogleCloudAiplatformV1ListFilesResponse", +"properties": { +"data": { +"description": "The files.", +"items": { +"$ref": "GoogleCloudAiplatformV1ClaudeFile" +}, +"type": "array" +}, +"next_page": { +"description": "Opaque cursor for the next page. Unset on the last page, and always unset when `ids` was supplied, since batch fetch is single-page.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse": { "description": "Response message for JobService.ListHyperparameterTuningJobs", "id": "GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse", diff --git a/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json b/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json index 5c40d9de52..38676a5503 100644 --- a/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json @@ -3565,15 +3565,41 @@ } } }, -"evaluationTasks": { +"exampleStores": { "resources": { "operations": { "methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.exampleStores.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^exampleStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/aiplatform", +"https://www.googleapis.com/auth/cloud-platform" +] +}, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/evaluationTasks/{evaluationTasksId}/operations/{operationsId}", +"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.evaluationTasks.operations.delete", +"id": "aiplatform.exampleStores.operations.delete", "parameterOrder": [ "name" ], @@ -3581,7 +3607,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^evaluationTasks/[^/]+/operations/[^/]+$", +"pattern": "^exampleStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3596,9 +3622,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/evaluationTasks/{evaluationTasksId}/operations/{operationsId}", +"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.evaluationTasks.operations.get", +"id": "aiplatform.exampleStores.operations.get", "parameterOrder": [ "name" ], @@ -3606,7 +3632,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^evaluationTasks/[^/]+/operations/[^/]+$", +"pattern": "^exampleStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3622,9 +3648,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/evaluationTasks/{evaluationTasksId}/operations", +"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations", "httpMethod": "GET", -"id": "aiplatform.evaluationTasks.operations.list", +"id": "aiplatform.exampleStores.operations.list", "parameterOrder": [ "name" ], @@ -3637,7 +3663,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^evaluationTasks/[^/]+$", +"pattern": "^exampleStores/[^/]+$", "required": true, "type": "string" }, @@ -3669,9 +3695,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/evaluationTasks/{evaluationTasksId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.evaluationTasks.operations.wait", +"id": "aiplatform.exampleStores.operations.wait", "parameterOrder": [ "name" ], @@ -3679,7 +3705,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^evaluationTasks/[^/]+/operations/[^/]+$", +"pattern": "^exampleStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -3703,15 +3729,15 @@ } } }, -"exampleStores": { +"extensionControllers": { "resources": { "operations": { "methods": { "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}:cancel", +"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}:cancel", "httpMethod": "POST", -"id": "aiplatform.exampleStores.operations.cancel", +"id": "aiplatform.extensionControllers.operations.cancel", "parameterOrder": [ "name" ], @@ -3719,7 +3745,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", -"pattern": "^exampleStores/[^/]+/operations/[^/]+$", +"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3735,9 +3761,9 @@ }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}", +"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.exampleStores.operations.delete", +"id": "aiplatform.extensionControllers.operations.delete", "parameterOrder": [ "name" ], @@ -3745,7 +3771,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^exampleStores/[^/]+/operations/[^/]+$", +"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3760,9 +3786,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}", +"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.exampleStores.operations.get", +"id": "aiplatform.extensionControllers.operations.get", "parameterOrder": [ "name" ], @@ -3770,7 +3796,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^exampleStores/[^/]+/operations/[^/]+$", +"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3786,9 +3812,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations", +"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations", "httpMethod": "GET", -"id": "aiplatform.exampleStores.operations.list", +"id": "aiplatform.extensionControllers.operations.list", "parameterOrder": [ "name" ], @@ -3801,7 +3827,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^exampleStores/[^/]+$", +"pattern": "^extensionControllers/[^/]+$", "required": true, "type": "string" }, @@ -3833,9 +3859,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/exampleStores/{exampleStoresId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.exampleStores.operations.wait", +"id": "aiplatform.extensionControllers.operations.wait", "parameterOrder": [ "name" ], @@ -3843,7 +3869,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^exampleStores/[^/]+/operations/[^/]+$", +"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -3867,15 +3893,15 @@ } } }, -"extensionControllers": { +"extensions": { "resources": { "operations": { "methods": { "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}:cancel", +"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}:cancel", "httpMethod": "POST", -"id": "aiplatform.extensionControllers.operations.cancel", +"id": "aiplatform.extensions.operations.cancel", "parameterOrder": [ "name" ], @@ -3883,7 +3909,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", -"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", +"pattern": "^extensions/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3899,9 +3925,9 @@ }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}", +"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.extensionControllers.operations.delete", +"id": "aiplatform.extensions.operations.delete", "parameterOrder": [ "name" ], @@ -3909,7 +3935,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", +"pattern": "^extensions/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3924,9 +3950,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}", +"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.extensionControllers.operations.get", +"id": "aiplatform.extensions.operations.get", "parameterOrder": [ "name" ], @@ -3934,7 +3960,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", +"pattern": "^extensions/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -3950,9 +3976,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations", +"flatPath": "v1beta1/extensions/{extensionsId}/operations", "httpMethod": "GET", -"id": "aiplatform.extensionControllers.operations.list", +"id": "aiplatform.extensions.operations.list", "parameterOrder": [ "name" ], @@ -3965,7 +3991,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^extensionControllers/[^/]+$", +"pattern": "^extensions/[^/]+$", "required": true, "type": "string" }, @@ -3997,9 +4023,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/extensionControllers/{extensionControllersId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.extensionControllers.operations.wait", +"id": "aiplatform.extensions.operations.wait", "parameterOrder": [ "name" ], @@ -4007,7 +4033,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^extensionControllers/[^/]+/operations/[^/]+$", +"pattern": "^extensions/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4031,41 +4057,155 @@ } } }, -"extensions": { +"featureGroups": { +"resources": { +"featureMonitors": { "resources": { "operations": { "methods": { -"cancel": { -"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}:cancel", -"httpMethod": "POST", -"id": "aiplatform.extensions.operations.cancel", +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featureGroups.featureMonitors.operations.delete", "parameterOrder": [ "name" ], "parameters": { "name": { -"description": "The name of the operation resource to be cancelled.", +"description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^extensions/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", "required": true, "type": "string" } }, -"path": "v1beta1/{+name}:cancel", +"path": "v1beta1/{+name}", "response": { "$ref": "GoogleProtobufEmpty" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.featureMonitors.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/aiplatform", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.featureMonitors.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ "https://www.googleapis.com/auth/aiplatform", "https://www.googleapis.com/auth/cloud-platform" ] }, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featureGroups.featureMonitors.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/aiplatform", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"features": { +"resources": { +"operations": { +"methods": { "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.extensions.operations.delete", +"id": "aiplatform.featureGroups.features.operations.delete", "parameterOrder": [ "name" ], @@ -4073,7 +4213,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^extensions/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4088,9 +4228,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.extensions.operations.get", +"id": "aiplatform.featureGroups.features.operations.get", "parameterOrder": [ "name" ], @@ -4098,7 +4238,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^extensions/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4114,9 +4254,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/extensions/{extensionsId}/operations", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations", "httpMethod": "GET", -"id": "aiplatform.extensions.operations.list", +"id": "aiplatform.featureGroups.features.operations.list", "parameterOrder": [ "name" ], @@ -4129,7 +4269,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^extensions/[^/]+$", +"pattern": "^featureGroups/[^/]+/features/[^/]+$", "required": true, "type": "string" }, @@ -4161,9 +4301,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/extensions/{extensionsId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.extensions.operations.wait", +"id": "aiplatform.featureGroups.features.operations.wait", "parameterOrder": [ "name" ], @@ -4171,7 +4311,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^extensions/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4195,17 +4335,13 @@ } } }, -"featureGroups": { -"resources": { -"featureMonitors": { -"resources": { "operations": { "methods": { "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.featureGroups.featureMonitors.operations.delete", +"id": "aiplatform.featureGroups.operations.delete", "parameterOrder": [ "name" ], @@ -4213,7 +4349,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4228,9 +4364,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.featureGroups.featureMonitors.operations.get", +"id": "aiplatform.featureGroups.operations.get", "parameterOrder": [ "name" ], @@ -4238,7 +4374,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4254,9 +4390,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations", "httpMethod": "GET", -"id": "aiplatform.featureGroups.featureMonitors.operations.list", +"id": "aiplatform.featureGroups.operations.list", "parameterOrder": [ "name" ], @@ -4269,7 +4405,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+$", +"pattern": "^featureGroups/[^/]+$", "required": true, "type": "string" }, @@ -4301,9 +4437,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/featureMonitors/{featureMonitorsId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.featureGroups.featureMonitors.operations.wait", +"id": "aiplatform.featureGroups.operations.wait", "parameterOrder": [ "name" ], @@ -4311,7 +4447,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^featureGroups/[^/]+/featureMonitors/[^/]+/operations/[^/]+$", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4335,15 +4471,17 @@ } } }, -"features": { +"featureOnlineStores": { +"resources": { +"featureViews": { "resources": { "operations": { "methods": { "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.featureGroups.features.operations.delete", +"id": "aiplatform.featureOnlineStores.featureViews.operations.delete", "parameterOrder": [ "name" ], @@ -4351,7 +4489,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4366,9 +4504,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.featureGroups.features.operations.get", +"id": "aiplatform.featureOnlineStores.featureViews.operations.get", "parameterOrder": [ "name" ], @@ -4376,7 +4514,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4392,9 +4530,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations", "httpMethod": "GET", -"id": "aiplatform.featureGroups.features.operations.list", +"id": "aiplatform.featureOnlineStores.featureViews.operations.list", "parameterOrder": [ "name" ], @@ -4407,7 +4545,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^featureGroups/[^/]+/features/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+$", "required": true, "type": "string" }, @@ -4439,9 +4577,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.featureGroups.features.operations.wait", +"id": "aiplatform.featureOnlineStores.featureViews.operations.wait", "parameterOrder": [ "name" ], @@ -4449,7 +4587,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4477,9 +4615,9 @@ "methods": { "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.featureGroups.operations.delete", +"id": "aiplatform.featureOnlineStores.operations.delete", "parameterOrder": [ "name" ], @@ -4487,7 +4625,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4502,9 +4640,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.featureGroups.operations.get", +"id": "aiplatform.featureOnlineStores.operations.get", "parameterOrder": [ "name" ], @@ -4512,7 +4650,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4528,9 +4666,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations", "httpMethod": "GET", -"id": "aiplatform.featureGroups.operations.list", +"id": "aiplatform.featureOnlineStores.operations.list", "parameterOrder": [ "name" ], @@ -4543,7 +4681,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^featureGroups/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+$", "required": true, "type": "string" }, @@ -4575,9 +4713,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.featureGroups.operations.wait", +"id": "aiplatform.featureOnlineStores.operations.wait", "parameterOrder": [ "name" ], @@ -4585,7 +4723,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4609,153 +4747,45 @@ } } }, -"featureOnlineStores": { +"featurestores": { "resources": { -"featureViews": { +"entityTypes": { +"resources": { +"features": { "resources": { "operations": { "methods": { -"delete": { -"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", -"httpMethod": "DELETE", -"id": "aiplatform.featureOnlineStores.featureViews.operations.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be deleted.", -"location": "path", -"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleProtobufEmpty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"get": { -"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", -"httpMethod": "GET", -"id": "aiplatform.featureOnlineStores.featureViews.operations.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource.", -"location": "path", -"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"list": { -"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations", -"httpMethod": "GET", -"id": "aiplatform.featureOnlineStores.featureViews.operations.list", -"parameterOrder": [ -"name" -], -"parameters": { -"filter": { -"description": "The standard list filter.", -"location": "query", -"type": "string" -}, -"name": { -"description": "The name of the operation's parent resource.", -"location": "path", -"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+$", -"required": true, -"type": "string" -}, -"pageSize": { -"description": "The standard list page size.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "The standard list page token.", -"location": "query", -"type": "string" -}, -"returnPartialSuccess": { -"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}/operations", -"response": { -"$ref": "GoogleLongrunningListOperationsResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"wait": { -"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:cancel", "httpMethod": "POST", -"id": "aiplatform.featureOnlineStores.featureViews.operations.wait", +"id": "aiplatform.featurestores.entityTypes.features.operations.cancel", "parameterOrder": [ "name" ], "parameters": { "name": { -"description": "The name of the operation resource to wait on.", +"description": "The name of the operation resource to be cancelled.", "location": "path", -"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" -}, -"timeout": { -"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", -"format": "google-duration", -"location": "query", -"type": "string" } }, -"path": "v1beta1/{+name}:wait", +"path": "v1beta1/{+name}:cancel", "response": { -"$ref": "GoogleLongrunningOperation" +"$ref": "GoogleProtobufEmpty" }, "scopes": [ "https://www.googleapis.com/auth/aiplatform", "https://www.googleapis.com/auth/cloud-platform" ] -} -} -} -} }, -"operations": { -"methods": { "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.featureOnlineStores.operations.delete", +"id": "aiplatform.featurestores.entityTypes.features.operations.delete", "parameterOrder": [ "name" ], @@ -4763,7 +4793,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4778,9 +4808,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.featureOnlineStores.operations.get", +"id": "aiplatform.featurestores.entityTypes.features.operations.get", "parameterOrder": [ "name" ], @@ -4788,7 +4818,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4804,9 +4834,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations", "httpMethod": "GET", -"id": "aiplatform.featureOnlineStores.operations.list", +"id": "aiplatform.featurestores.entityTypes.features.operations.list", "parameterOrder": [ "name" ], @@ -4819,7 +4849,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^featureOnlineStores/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", "required": true, "type": "string" }, @@ -4851,9 +4881,9 @@ }, "wait": { "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:wait", "httpMethod": "POST", -"id": "aiplatform.featureOnlineStores.operations.wait", +"id": "aiplatform.featurestores.entityTypes.features.operations.wait", "parameterOrder": [ "name" ], @@ -4861,7 +4891,7 @@ "name": { "description": "The name of the operation resource to wait on.", "location": "path", -"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", "required": true, "type": "string" }, @@ -4885,19 +4915,13 @@ } } }, -"featurestores": { -"resources": { -"entityTypes": { -"resources": { -"features": { -"resources": { "operations": { "methods": { "cancel": { "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:cancel", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:cancel", "httpMethod": "POST", -"id": "aiplatform.featurestores.entityTypes.features.operations.cancel", +"id": "aiplatform.featurestores.entityTypes.operations.cancel", "parameterOrder": [ "name" ], @@ -4905,7 +4929,7 @@ "name": { "description": "The name of the operation resource to be cancelled.", "location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4921,9 +4945,9 @@ }, "delete": { "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", "httpMethod": "DELETE", -"id": "aiplatform.featurestores.entityTypes.features.operations.delete", +"id": "aiplatform.featurestores.entityTypes.operations.delete", "parameterOrder": [ "name" ], @@ -4931,7 +4955,7 @@ "name": { "description": "The name of the operation resource to be deleted.", "location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4946,9 +4970,9 @@ }, "get": { "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", "httpMethod": "GET", -"id": "aiplatform.featurestores.entityTypes.features.operations.get", +"id": "aiplatform.featurestores.entityTypes.operations.get", "parameterOrder": [ "name" ], @@ -4956,7 +4980,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", "required": true, "type": "string" } @@ -4972,9 +4996,9 @@ }, "list": { "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations", +"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations", "httpMethod": "GET", -"id": "aiplatform.featurestores.entityTypes.features.operations.list", +"id": "aiplatform.featurestores.entityTypes.operations.list", "parameterOrder": [ "name" ], @@ -4987,169 +5011,7 @@ "name": { "description": "The name of the operation's parent resource.", "location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", -"required": true, -"type": "string" -}, -"pageSize": { -"description": "The standard list page size.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "The standard list page token.", -"location": "query", -"type": "string" -}, -"returnPartialSuccess": { -"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}/operations", -"response": { -"$ref": "GoogleLongrunningListOperationsResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"wait": { -"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:wait", -"httpMethod": "POST", -"id": "aiplatform.featurestores.entityTypes.features.operations.wait", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to wait on.", -"location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -}, -"timeout": { -"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", -"format": "google-duration", -"location": "query", -"type": "string" -} -}, -"path": "v1beta1/{+name}:wait", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -} -} -} -} -}, -"operations": { -"methods": { -"cancel": { -"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:cancel", -"httpMethod": "POST", -"id": "aiplatform.featurestores.entityTypes.operations.cancel", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be cancelled.", -"location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}:cancel", -"response": { -"$ref": "GoogleProtobufEmpty" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"delete": { -"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", -"httpMethod": "DELETE", -"id": "aiplatform.featurestores.entityTypes.operations.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be deleted.", -"location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleProtobufEmpty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"get": { -"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", -"httpMethod": "GET", -"id": "aiplatform.featurestores.entityTypes.operations.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource.", -"location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"list": { -"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations", -"httpMethod": "GET", -"id": "aiplatform.featurestores.entityTypes.operations.list", -"parameterOrder": [ -"name" -], -"parameters": { -"filter": { -"description": "The standard list filter.", -"location": "query", -"type": "string" -}, -"name": { -"description": "The name of the operation's parent resource.", -"location": "path", -"pattern": "^featurestores/[^/]+/entityTypes/[^/]+$", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+$", "required": true, "type": "string" }, @@ -10222,6 +10084,11 @@ "parent" ], "parameters": { +"idpNonce": { +"description": "Optional. Optional. One-time cryptographic nonce issued by the trusted IdP provisioning iframe for session and device non-repudiation.", +"location": "query", +"type": "string" +}, "parent": { "description": "Required. The resource name of the location to create the agent in. Format: `projects/{project}/locations/{location}`.", "location": "path", @@ -16547,144 +16414,6 @@ } } }, -"evaluationTasks": { -"resources": { -"operations": { -"methods": { -"delete": { -"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationTasks/{evaluationTasksId}/operations/{operationsId}", -"httpMethod": "DELETE", -"id": "aiplatform.projects.locations.evaluationTasks.operations.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be deleted.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/evaluationTasks/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleProtobufEmpty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"get": { -"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationTasks/{evaluationTasksId}/operations/{operationsId}", -"httpMethod": "GET", -"id": "aiplatform.projects.locations.evaluationTasks.operations.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/evaluationTasks/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"list": { -"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationTasks/{evaluationTasksId}/operations", -"httpMethod": "GET", -"id": "aiplatform.projects.locations.evaluationTasks.operations.list", -"parameterOrder": [ -"name" -], -"parameters": { -"filter": { -"description": "The standard list filter.", -"location": "query", -"type": "string" -}, -"name": { -"description": "The name of the operation's parent resource.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/evaluationTasks/[^/]+$", -"required": true, -"type": "string" -}, -"pageSize": { -"description": "The standard list page size.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "The standard list page token.", -"location": "query", -"type": "string" -}, -"returnPartialSuccess": { -"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}/operations", -"response": { -"$ref": "GoogleLongrunningListOperationsResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -}, -"wait": { -"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/evaluationTasks/{evaluationTasksId}/operations/{operationsId}:wait", -"httpMethod": "POST", -"id": "aiplatform.projects.locations.evaluationTasks.operations.wait", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to wait on.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/evaluationTasks/[^/]+/operations/[^/]+$", -"required": true, -"type": "string" -}, -"timeout": { -"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", -"format": "google-duration", -"location": "query", -"type": "string" -} -}, -"path": "v1beta1/{+name}:wait", -"response": { -"$ref": "GoogleLongrunningOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/aiplatform", -"https://www.googleapis.com/auth/cloud-platform" -] -} -} -} -} -}, "exampleStores": { "methods": { "create": { @@ -30494,8 +30223,214 @@ }, "publishers": { "resources": { +"files": { +"methods": { +"delete": { +"description": "Deletes the given file. Returns the deleted file's ID rather than an empty body. See `DeleteFileResponse`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.publishers.files.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to delete. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1DeleteFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads the contents of the given file. Only files marked `downloadable` can be retrieved this way; user-uploaded files are not downloadable.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}/content", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to download. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/content", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1DownloadFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"get": { +"description": "Gets the metadata for the given file.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files/{filesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to get. Format: `projects/{project}/locations/{location}/publishers/{publisher}/files/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ClaudeFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque `page` cursor, or batch fetch by `ids`. See `ListFilesRequest`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.publishers.files.list", +"parameterOrder": [ +"parent", +"publishersId" +], +"parameters": { +"ids": { +"description": "Optional. Batch fetch: return only these files, up to 100 IDs after de-duplication. Mutually exclusive with both `page` and `limit`. Serialised as a repeated `ids` query parameter, one occurrence per ID.", +"location": "query", +"repeated": true, +"type": "string" +}, +"limit": { +"description": "Optional. The number of files to return per page. Defaults to 20 if unset, maximum 1000. Mutually exclusive with `ids`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"page": { +"description": "Optional. Opaque pagination cursor. Pass the previous response's `next_page` to fetch the next page. Mutually exclusive with `ids`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location to list files under. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"publishersId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/publishers/{publishersId}/files", +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ListFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads a file that can be referenced by ID from subsequent Claude model requests.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.files.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "524288000", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1beta1/{+parent}/publishers/{publishersId}/files" +} +} +}, +"parameterOrder": [ +"parent", +"publishersId" +], +"parameters": { +"parent": { +"description": "Required. The location to create the file under. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"publishersId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/publishers/{publishersId}/files", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1CreateFileRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1ClaudeFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, "models": { "methods": { +"batchEmbedContents": { +"description": "Generates embeddings directly from multiple contents.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:batchEmbedContents", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.batchEmbedContents", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+model}:batchEmbedContents", +"request": { +"$ref": "GoogleCloudAiplatformV1beta1BatchEmbedContentsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1beta1BatchEmbedContentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/aiplatform", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, "computeTokens": { "description": "Return a list of tokens based on the input text.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:computeTokens", @@ -51276,7 +51211,7 @@ } } }, -"revision": "20261012", +"revision": "20261028", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionExperimentsResponse": { @@ -51394,6 +51329,10 @@ "$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig", "description": "Config for Outpainting task." }, +"perfEstimationConfig": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig", +"description": "Optional. Omni Perf 3D estimation configuration." +}, "proEdit": { "$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig", "description": "Configuration for Pro Edit." @@ -51459,6 +51398,37 @@ }, "type": "object" }, +"CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox": { +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"properties": { +"bottom": { +"description": "The bottom coordinate (exclusive) of the bounding box.", +"format": "int32", +"type": "integer" +}, +"frameIndex": { +"description": "The frame index of the bounding box.", +"format": "int32", +"type": "integer" +}, +"left": { +"description": "The left coordinate of the bounding box.", +"format": "int32", +"type": "integer" +}, +"right": { +"description": "The right coordinate (exclusive) of the bounding box.", +"format": "int32", +"type": "integer" +}, +"top": { +"description": "The top coordinate of the bounding box.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig": { "description": "Configuration for color alignment.", "id": "CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig", @@ -51511,7 +51481,7 @@ "type": "string" }, "weight": { -"description": "The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 1.0]. Default is 1.0.", +"description": "The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 2.0]. Default is 1.0.", "format": "float", "type": "number" } @@ -51587,6 +51557,53 @@ }, "type": "object" }, +"CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig": { +"description": "Configuration for Omni Perf 3D estimation.", +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig", +"properties": { +"exportUsd": { +"description": "Optional. Whether to export the USD file.", +"type": "boolean" +}, +"sourceBoundingBox": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"description": "Required. The bounding box of the object in the source video." +}, +"sourceVideo": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestVideo", +"description": "Required. The source video for the 3D estimation." +}, +"targetCharacterReferences": { +"description": "Optional. The character reference images/videos.", +"items": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference" +}, +"type": "array" +}, +"temporalSmoothness": { +"description": "Optional.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference": { +"id": "CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference", +"properties": { +"boundingBox": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox", +"description": "Required. The bounding box of the character in the reference image/video." +}, +"referenceImage": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestImage" +}, +"referenceVideo": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoRequestVideo" +} +}, +"type": "object" +}, "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig": { "description": "Configuration for Pro Edit.", "id": "CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig", @@ -51637,6 +51654,11 @@ ], "type": "string" }, +"steps": { +"description": "Number of diffusion denoising steps (1 or 2).", +"format": "int32", +"type": "integer" +}, "tileSmoothing": { "description": "Smooths the seams between the tiles the model upscales separately.", "type": "boolean" @@ -53893,11 +53915,6 @@ "$ref": "GenaiVertexV1beta1Content", "description": "The content for the interaction." }, -"continuationToken": { -"description": "Opaque token to resume a long decode. Output: set when status is INCOMPLETE and decoding can be resumed. Input: pass the latest token back unchanged in CreateInteraction to continue decoding.", -"format": "byte", -"type": "string" -}, "created": { "description": "Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).", "readOnly": true, @@ -57202,6 +57219,11 @@ false "description": "A Vertex agent contains instructions and configurations for the LLM to execute a certain task.", "id": "GoogleCloudAiplatformV1beta1Agent", "properties": { +"aiApplication": { +"description": "Output only. The resource name of the AI Application provisioned for this agent. Format: `projects/{project}/locations/{location}/aiApplications/{ai_application}`.", +"readOnly": true, +"type": "string" +}, "base_agent": { "description": "Required. Immutable. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of agent this is gets derived from this field when the agent is created and is recorded then; nothing recomputes it afterwards, so a later change would leave the agent described as one kind and behaving as another. Create a new agent instead.", "type": "string" @@ -59194,6 +59216,53 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1BatchEmbedContentsRequest": { +"description": "Request message for PredictionService.BatchEmbedContents.", +"id": "GoogleCloudAiplatformV1beta1BatchEmbedContentsRequest", +"properties": { +"requests": { +"description": "Required. Embed requests for the batch. The model in each of these requests must either be empty or match the model specified in `BatchEmbedContentsRequest.model`. All the requests in a batch must have the same output dimensionality and auto truncation parameters.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1EmbedContentRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1BatchEmbedContentsResponse": { +"description": "Response message for PredictionService.BatchEmbedContents.", +"id": "GoogleCloudAiplatformV1beta1BatchEmbedContentsResponse", +"properties": { +"embeddings": { +"description": "The embeddings for each request, in the same order as provided in the batch request.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1BatchEmbedContentsResponseEmbedding" +}, +"type": "array" +}, +"usageMetadata": { +"$ref": "GoogleCloudAiplatformV1beta1UsageMetadata", +"description": "Usage metadata about the response(s)." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1beta1BatchEmbedContentsResponseEmbedding": { +"description": "A list of floats representing an embedding.", +"id": "GoogleCloudAiplatformV1beta1BatchEmbedContentsResponseEmbedding", +"properties": { +"values": { +"description": "Embedding vector values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest": { "description": "Request message for ModelService.BatchImportEvaluatedAnnotations", "id": "GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest", @@ -60540,6 +60609,56 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ClaudeFile": { +"description": "A file that can be referenced by ID from subsequent Claude model requests. The JSON representation of this message matches the Claude Files API File object field-for-field, so that code written against that API parses these responses unchanged.", +"id": "GoogleCloudAiplatformV1beta1ClaudeFile", +"properties": { +"created_at": { +"description": "Output only. The time at which the file was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"downloadable": { +"description": "Output only. Whether the contents of this file can be retrieved with `DownloadFile`. False for user-uploaded files, true for tool-generated ones.", +"readOnly": true, +"type": "boolean" +}, +"expires_at": { +"description": "Output only. The time at which the file expires and is deleted, set from the `expires_in_seconds` upload form field. Unset for files that do not expire, which is serialised as `null`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"filename": { +"description": "Output only. The original name of the uploaded file, taken from the `Content-Disposition` header on upload. Between 1 and 255 characters. Control characters and the characters `<>:\"|?*\\/` are not accepted.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The server-assigned identifier of the file, for example `file_abc123`. This is the ID to pass in subsequent model requests.", +"readOnly": true, +"type": "string" +}, +"mime_type": { +"description": "Output only. The media type of the file, taken from the `Content-Type` header of the file part on upload.", +"readOnly": true, +"type": "string" +}, +"size_bytes": { +"description": "Output only. The size of the file in bytes.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"type": { +"description": "Output only. The object type. Always `file`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1ClearTrainingDataRequest": { "description": "Request message for AgentAnomalyDetectionService.ClearTrainingData.", "id": "GoogleCloudAiplatformV1beta1ClearTrainingDataRequest", @@ -61597,6 +61716,12 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1CreateFileRequest": { +"description": "Request message for ClaudeFileService.CreateFile.", +"id": "GoogleCloudAiplatformV1beta1CreateFileRequest", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1CreateIndexEndpointOperationMetadata": { "description": "Runtime operation information for IndexEndpointService.CreateIndexEndpoint.", "id": "GoogleCloudAiplatformV1beta1CreateIndexEndpointOperationMetadata", @@ -62852,6 +62977,21 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1DeleteFileResponse": { +"description": "Response message for ClaudeFileService.DeleteFile. Returns `{id, type: \"file_deleted\"}` rather than an empty body, matching the Claude Files API.", +"id": "GoogleCloudAiplatformV1beta1DeleteFileResponse", +"properties": { +"id": { +"description": "The ID of the deleted file.", +"type": "string" +}, +"type": { +"description": "The object type. Always `file_deleted`.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1DeleteMetadataStoreOperationMetadata": { "description": "Details of operations that perform MetadataService.DeleteMetadataStore.", "id": "GoogleCloudAiplatformV1beta1DeleteMetadataStoreOperationMetadata", @@ -63810,6 +63950,12 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1DownloadFileResponse": { +"description": "Response message for ClaudeFileService.DownloadFile.", +"id": "GoogleCloudAiplatformV1beta1DownloadFileResponse", +"properties": {}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1DynamicRetrievalConfig": { "description": "Describes the options to customize dynamic retrieval.", "id": "GoogleCloudAiplatformV1beta1DynamicRetrievalConfig", @@ -63851,6 +63997,10 @@ false "$ref": "GoogleCloudAiplatformV1beta1EmbedContentRequestEmbedContentConfig", "description": "Optional. Configuration for the EmbedContent request." }, +"model": { +"description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", +"type": "string" +}, "outputDimensionality": { "deprecated": true, "description": "Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality instead. Reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.", @@ -70545,6 +70695,10 @@ false "$ref": "GoogleCloudAiplatformV1beta1ModelArmorConfig", "description": "Optional. Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied." }, +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig", +"description": "Optional. Configuration for persisting output assets to external storage." +}, "safetySettings": { "description": "Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.", "items": { @@ -70570,6 +70724,17 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig": { +"description": "Configuration for persisting output assets to external storage.", +"id": "GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig", +"properties": { +"outputUriPrefix": { +"description": "Optional. The Cloud Storage URI prefix or directory where generated media assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes are written directly to this location and returned as `FileData` with a `file_uri` instead of raw inline bytes.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1GenerateContentResponse": { "description": "Response message for [PredictionService.GenerateContent].", "id": "GoogleCloudAiplatformV1beta1GenerateContentResponse", @@ -74462,6 +74627,24 @@ false }, "type": "object" }, +"GoogleCloudAiplatformV1beta1ListFilesResponse": { +"description": "Response message for ClaudeFileService.ListFiles.", +"id": "GoogleCloudAiplatformV1beta1ListFilesResponse", +"properties": { +"data": { +"description": "The files.", +"items": { +"$ref": "GoogleCloudAiplatformV1beta1ClaudeFile" +}, +"type": "array" +}, +"next_page": { +"description": "Opaque cursor for the next page. Unset on the last page, and always unset when `ids` was supplied, since batch fetch is single-page.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponse": { "description": "Response message for JobService.ListHyperparameterTuningJobs", "id": "GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponse", diff --git a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json index 4a5b145655..b836eb6d3f 100644 --- a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json @@ -423,7 +423,7 @@ } } }, -"revision": "20260921", +"revision": "20261030", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AbuseDetected": { @@ -748,6 +748,24 @@ }, "type": "object" }, +"AlertDetail": { +"description": "The alert data relevant for this alert", +"id": "AlertDetail", +"properties": { +"fieldName": { +"description": "Audit data key", +"type": "string" +}, +"fieldValues": { +"description": "Audit data values", +"items": { +"$ref": "SystemDefinedAlertDataAlertDetailFieldValue" +}, +"type": "array" +} +}, +"type": "object" +}, "AlertFeedback": { "description": "A customer feedback about an alert.", "id": "AlertFeedback", @@ -2348,6 +2366,45 @@ }, "type": "object" }, +"SystemDefinedAlertData": { +"description": "System defined alerts which trigger when an relevant audit event occures.", +"id": "SystemDefinedAlertData", +"properties": { +"alertDetails": { +"description": "Details of the conditions which led to alert being created", +"items": { +"$ref": "AlertDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"SystemDefinedAlertDataAlertDetailFieldValue": { +"description": "Audit data value", +"id": "SystemDefinedAlertDataAlertDetailFieldValue", +"properties": { +"boolValue": { +"description": "Value if the type is boolean", +"type": "boolean" +}, +"intValue": { +"description": "Value if the type is integer", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "Value if the type is string", +"type": "string" +}, +"timestampValue": { +"description": "Value is the type is a timestamp", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, "TransferError": { "description": "Details for an invalid transfer or forward.", "id": "TransferError", diff --git a/googleapiclient/discovery_cache/documents/alloydb.v1.json b/googleapiclient/discovery_cache/documents/alloydb.v1.json index 6fc6bc6369..d02e11a25a 100644 --- a/googleapiclient/discovery_cache/documents/alloydb.v1.json +++ b/googleapiclient/discovery_cache/documents/alloydb.v1.json @@ -1879,7 +1879,7 @@ } } }, -"revision": "20261006", +"revision": "20261026", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2778,6 +2778,18 @@ false }, "type": "object" }, +"ConnectionsCount": { +"description": "Connections count policy for the autoscaler.", +"id": "ConnectionsCount", +"properties": { +"targetCount": { +"description": "Optional. The target number of connections for the autoscaler to scale the instance to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "ContinuousBackupConfig": { "description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.", "id": "ContinuousBackupConfig", @@ -4102,6 +4114,10 @@ false "description": "Policy for the autoscaler.", "id": "Policy", "properties": { +"connectionsCount": { +"$ref": "ConnectionsCount", +"description": "Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling." +}, "coolDownPeriodSec": { "description": "The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm.", "format": "int64", diff --git a/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json b/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json index e5ebee2888..7adfe592f7 100644 --- a/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json @@ -2086,7 +2086,7 @@ } } }, -"revision": "20261018", +"revision": "20261026", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -3107,6 +3107,18 @@ false }, "type": "object" }, +"ConnectionsCount": { +"description": "Connections count policy for the autoscaler.", +"id": "ConnectionsCount", +"properties": { +"targetCount": { +"description": "Optional. The target number of connections for the autoscaler to scale the instance to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "ContinuousBackupConfig": { "description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.", "id": "ContinuousBackupConfig", @@ -4682,6 +4694,10 @@ false "description": "Policy for the autoscaler.", "id": "Policy", "properties": { +"connectionsCount": { +"$ref": "ConnectionsCount", +"description": "Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling." +}, "coolDownPeriodSec": { "description": "The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm.", "format": "int64", diff --git a/googleapiclient/discovery_cache/documents/alloydb.v1beta.json b/googleapiclient/discovery_cache/documents/alloydb.v1beta.json index 1572d91767..f7aa95b67e 100644 --- a/googleapiclient/discovery_cache/documents/alloydb.v1beta.json +++ b/googleapiclient/discovery_cache/documents/alloydb.v1beta.json @@ -2083,7 +2083,7 @@ } } }, -"revision": "20261018", +"revision": "20261026", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -3088,6 +3088,18 @@ false }, "type": "object" }, +"ConnectionsCount": { +"description": "Connections count policy for the autoscaler.", +"id": "ConnectionsCount", +"properties": { +"targetCount": { +"description": "Optional. The target number of connections for the autoscaler to scale the instance to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "ContinuousBackupConfig": { "description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.", "id": "ContinuousBackupConfig", @@ -4658,6 +4670,10 @@ false "description": "Policy for the autoscaler.", "id": "Policy", "properties": { +"connectionsCount": { +"$ref": "ConnectionsCount", +"description": "Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use connection count for scaling." +}, "coolDownPeriodSec": { "description": "The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm.", "format": "int64", diff --git a/googleapiclient/discovery_cache/documents/androidmanagement.v1.json b/googleapiclient/discovery_cache/documents/androidmanagement.v1.json index d62ea63493..a461824082 100644 --- a/googleapiclient/discovery_cache/documents/androidmanagement.v1.json +++ b/googleapiclient/discovery_cache/documents/androidmanagement.v1.json @@ -1265,7 +1265,7 @@ } } }, -"revision": "20261021", +"revision": "20261028", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -4205,7 +4205,7 @@ false "Unspecified. This value is not used.", "The eSIM operation was successfully performed on the device.", "The eSIM operation is in progress.", -"The user needs to take an action for the eSIM operation to proceed.", +"The user needs to take an action for the eSIM operation to proceed. When ADD_ESIM is issued, this can happen when the device requires user consent to install or activate the eSIM, or when the eSIM profile requires a confirmation code that was not provided in confirmation_code.", "The eSIM operation cannot be executed when setup is in progress.", "The user has denied the eSIM operation.", "An error has occurred while trying to add or remove the eSIM on the device, see internal_error_details.", @@ -4277,6 +4277,27 @@ false }, "type": "object" }, +"ExtraCapabilities": { +"description": "Extra capabilities for a role.", +"id": "ExtraCapabilities", +"properties": { +"localDeviceWipeCommand": { +"description": "Optional. Controls whether the companion app can perform local device wipe (https://developers.google.com/android/management/sdk-local-commands) using AMAPI SDK (https://developers.google.com/android/management/sdk-integration).", +"enum": [ +"LOCAL_DEVICE_WIPE_COMMAND_UNSPECIFIED", +"LOCAL_DEVICE_WIPE_COMMAND_DISALLOWED", +"LOCAL_DEVICE_WIPE_COMMAND_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to LOCAL_DEVICE_WIPE_COMMAND_DISALLOWED.", +"The app is not allowed to perform local device wipe.", +"The app is allowed to perform local device wipe. Only the COMPANION_APP role type can use this field." +], +"type": "string" +} +}, +"type": "object" +}, "FilePulledEvent": { "description": "A file was downloaded from the device.", "id": "FilePulledEvent", @@ -4646,7 +4667,7 @@ false "See EuiccManager.ERROR_EUICC_MISSING (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_MISSING) for details.", "See EuiccManager.ERROR_UNSUPPORTED_VERSION (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_UNSUPPORTED_VERSION) for details.", "See EuiccManager.ERROR_ADDRESS_MISSING (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_ADDRESS_MISSING) for details.", -"See EuiccManager.ERROR_INVALID_CONFIRMATION_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_CONFIRMATION_CODE) for details.", +"The confirmation code is invalid. When ADD_ESIM is issued, this is reported when the carrier rejects the provided confirmation_code. See EuiccManager.ERROR_INVALID_CONFIRMATION_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_CONFIRMATION_CODE) for details.", "See EuiccManager.ERROR_CERTIFICATE_ERROR (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CERTIFICATE_ERROR) for details.", "See EuiccManager.ERROR_NO_PROFILES_AVAILABLE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_NO_PROFILES_AVAILABLE) for details.", "See EuiccManager.ERROR_CONNECTION_ERROR (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CONNECTION_ERROR) for details.", @@ -5748,6 +5769,29 @@ false }, "type": "object" }, +"Outcome": { +"description": "Determines how to proceed with the update.", +"id": "Outcome", +"properties": { +"outcomeType": { +"description": "Optional. Determines how to proceed with the update.", +"enum": [ +"OUTCOME_TYPE_UNSPECIFIED", +"FORCE", +"USER_PROMPT", +"BLOCK" +], +"enumDescriptions": [ +"Do not use this value.", +"The action for which the policy is being evaluated (depending on the stages), such as downloading the update or rebooting the device, happens immediately. Positivity requirement: Any rule which uses this can't use any of the following: * METERED_NETWORK * NOT_IDLE * NOT_CHARGING * BATTERY_LEVEL_LOW", +"Action should not be taken without the user's consent, but the user has a way of proceeding with the update and is prompted to do so. Supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, the default update behavior applies, as if no rule matched.", +"The update is not downloaded and not installed. For updates on Google Play, this only affects automatic updates, but does not prevent the user from manually updating. For OEM system updates, this prevents both manual and automatic updates. Positivity requirement: Any rule which uses this cannot use any of the following: * UNMETERED_NETWORK * IDLE * CHARGING * BATTERY_LEVEL_NOT_LOW" +], +"type": "string" +} +}, +"type": "object" +}, "PackageNameList": { "description": "A list of package names.", "id": "PackageNameList", @@ -6796,6 +6840,10 @@ false "description": "Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored.", "type": "boolean" }, +"unifiedUpdatePolicy": { +"$ref": "UnifiedUpdatePolicy", +"description": "Optional. The Unified Update Control policy, for controlling updates of software components on the device. Supported only on company-owned devices.The targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are supported only on devices where the OEM has integrated with Unified Update Controls, and are ignored otherwise. If systemUpdate is set, then that policy takes precedence and the targets OS_UPDATE_WITH_API_LEVEL_CHANGE and OS_UPDATE_WITHOUT_API_LEVEL_CHANGE are ignored here." +}, "uninstallAppsDisabled": { "description": "Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications", "type": "boolean" @@ -6950,6 +6998,66 @@ false }, "type": "object" }, +"Predicate": { +"description": "A predicate is something that can be evaluated on a device at any point of time, to return true or false. This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true.", +"id": "Predicate", +"properties": { +"dateLowerBound": { +"$ref": "Date", +"description": "Optional. A lower bound on the current date, in the device time zone. If not set, always evaluates to true." +}, +"dateUpperBound": { +"$ref": "Date", +"description": "Optional. An upper bound on the current date, in the device time zone. If not set, always evaluates to true." +}, +"daysOfWeek": { +"description": "Optional. Evaluates to true if this list is empty or if the current day of the week in the device's local time is in this list.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"type": "array" +}, +"timeOfDayLowerBound": { +"$ref": "TimeOfDay", +"description": "Optional. A lower bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true." +}, +"timeOfDayUpperBound": { +"$ref": "TimeOfDay", +"description": "Optional. An upper bound on the current time of the day, evaluated as hh:00:00 in the device time zone. Must specify only the hour (0-23). The policy will be rejected if minutes, seconds, or nanos are set. If not set, always evaluates to true.The window closes at the specified hour (for example, a lower bound of 14 and an upper bound of 15 covers 14:00 to 15:00). When both bounds are set in the same rule, timeOfDayUpperBound must be strictly greater than timeOfDayLowerBound for the window to match; if timeOfDayUpperBound is less than or equal to timeOfDayLowerBound, the predicate evaluates to false. Setting timeOfDayUpperBound to 0 (00:00) evaluates to false for the entire day. To extend a window to the end of the day (24:00), omit timeOfDayUpperBound. To define an overnight window spanning midnight, use two rules: an evening rule with only timeOfDayLowerBound set and a morning rule with only timeOfDayUpperBound set (targeting the following day if daysOfWeek is set)." +}, +"updateAgeLowerBound": { +"description": "Optional. A lower bound on the amount of time for which the update (that is, the specific build or version) has been available to the device. This must be a multiple of 24 hours.", +"format": "google-duration", +"type": "string" +}, +"updateAgeUpperBound": { +"description": "Optional. An upper bound on the amount of time for which the update has been available. If not set or set to zero, always evaluates to true. This must be a multiple of 24 hours.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, "PreferentialNetworkServiceConfig": { "description": "Individual preferential network service configuration.", "id": "PreferentialNetworkServiceConfig", @@ -7279,6 +7387,10 @@ false "description": "Role an app can have.", "id": "Role", "properties": { +"extraCapabilities": { +"$ref": "ExtraCapabilities", +"description": "Optional. Extra capabilities configured specifically for this role. Not all role types support or utilize extra capabilities." +}, "roleType": { "description": "Required. The type of the role an app can have.", "enum": [ @@ -7300,6 +7412,49 @@ false }, "type": "object" }, +"Rule": { +"description": "A rule as a part of the Unified Update Control policy. See rules for how this is used.", +"id": "Rule", +"properties": { +"id": { +"description": "Required. An EMM-defined identifier for this rule, of length at most 64 characters. This must not be empty. Within a UnifiedUpdatePolicy, different rules must have different ids.", +"type": "string" +}, +"outcome": { +"$ref": "Outcome", +"description": "Optional. Determines how to proceed with the update." +}, +"predicate": { +"$ref": "Predicate", +"description": "Optional. The predicate of the rule, which can evaluate to true or false. See rules for how this is used. If not set, the predicate always evaluates to true." +}, +"stages": { +"description": "Optional. The stages at which the rule is evaluated. If this list is empty, the rule is evaluated at all stages. Specifying stages is supported only for OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field is ignored and the rule is evaluated at all stages.", +"items": { +"enum": [ +"STAGE_UNSPECIFIED", +"STAGE_DOWNLOAD", +"STAGE_APPLY" +], +"enumDescriptions": [ +"This must not be used.", +"The policy is evaluated for the download of the update.", +"The policy is evaluated before taking an action which causes the update to be applied. This is best-effort, and the update may be applied regardless. For example, some updates such as apps and services installed by Google Play get automatically applied immediately after download. Some updates which need a reboot to apply may get applied as a result of a user-initiated reboot, regardless of policy. If an update needs a reboot to apply, policy is evaluated before the system triggers an automatic reboot for the purpose of applying the update." +], +"type": "string" +}, +"type": "array" +}, +"targets": { +"description": "Required. Targets that this rule applies to. This can have multiple targets here for convenience, and that is equivalent to having multiple rules in sequence each having one target, in the same order in which targets are listed here. This list must not be empty and must not have duplicates.", +"items": { +"$ref": "Target" +}, +"type": "array" +} +}, +"type": "object" +}, "ScreenBrightnessSettings": { "description": "Controls for the screen brightness settings.", "id": "ScreenBrightnessSettings", @@ -7496,6 +7651,17 @@ false }, "type": "object" }, +"SingleApp": { +"description": "Details of an app on Google System services.", +"id": "SingleApp", +"properties": { +"packageName": { +"description": "Required. The package name of the app. This can only be an app which is a part of GOOGLE_SYSTEM_SERVICES.", +"type": "string" +} +}, +"type": "object" +}, "SoftwareInfo": { "description": "Information about device software.", "id": "SoftwareInfo", @@ -7821,6 +7987,37 @@ false }, "type": "object" }, +"Target": { +"description": "A software component that can be updated.", +"id": "Target", +"properties": { +"singleApp": { +"$ref": "SingleApp", +"description": "Details of an app on Google System services." +}, +"targetType": { +"description": "Required. The type of software component that can be updated.", +"enum": [ +"TARGET_TYPE_UNSPECIFIED", +"SINGLE_APP", +"GOOGLE_SYSTEM_SERVICES", +"GOOGLE_PLAY_SYSTEM_UPDATE", +"OS_UPDATE_WITHOUT_API_LEVEL_CHANGE", +"OS_UPDATE_WITH_API_LEVEL_CHANGE" +], +"enumDescriptions": [ +"This must not be used.", +"An app on Google System services. singleApp must be set. This can be used only to control an app which is a part of GOOGLE_SYSTEM_SERVICES.", +"Google system services (https://support.google.com/product-documentation/answer/14343500) updated from Google Play, such as WebView.", +"Google Play System Updates. See https://source.android.com/docs/core/ota/modular-system .", +"An OS update issued by the OEM which does not change the API level of the device.", +"An OS update issued by the OEM which changes the API level of the device." +], +"type": "string" +} +}, +"type": "object" +}, "TelephonyInfo": { "description": "Telephony information associated with a given SIM card on the device. This is supported for all SIM cards on fully managed devices on Android 6 and above. In addition, this is supported for admin-added eSIMs on all devices for Android 15 and above.", "id": "TelephonyInfo", @@ -7886,6 +8083,47 @@ false }, "type": "object" }, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UnifiedUpdatePolicy": { +"description": "The Unified Update Control policy, for controlling updates of software components on the device (see Target). Supported only on company-owned devices.", +"id": "UnifiedUpdatePolicy", +"properties": { +"rules": { +"description": "Optional. When the policy is evaluated for a given target, all rules which refer to that target are evaluated in sequence. The first rule for which the predicate evaluates to true is considered, and its outcome is used. If no rule matches, the default update behavior applies. In other words, this behaves like a chained if-else statement.However, if an update has been available for more than a certain amount of time, any outcome of BLOCK is automatically changed to the default update behavior. At most 100 rules are allowed.", +"items": { +"$ref": "Rule" +}, +"type": "array" +} +}, +"type": "object" +}, "UsageLog": { "description": "Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications).", "id": "UsageLog", diff --git a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json index 685df48e9b..132cc61f31 100644 --- a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json +++ b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json @@ -3262,7 +3262,7 @@ ], "parameters": { "packageName": { -"description": "Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the OneTimeProduct resources.", +"description": "Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the requests.", "location": "path", "required": true, "type": "string" @@ -3286,7 +3286,7 @@ ], "parameters": { "packageName": { -"description": "Required. The parent app (package name) for which the products should be retrieved. Must be equal to the package_name field on all requests.", +"description": "Required. The parent app (package name) for which the products should be retrieved.", "location": "path", "required": true, "type": "string" @@ -3640,7 +3640,7 @@ ], "parameters": { "packageName": { -"description": "Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the OneTimeProductOffer resources.", +"description": "Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the requests.", "location": "path", "required": true, "type": "string" @@ -3652,7 +3652,7 @@ "type": "string" }, "purchaseOptionId": { -"description": "Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to update offers from multiple purchase options.", +"description": "Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to delete offers from multiple purchase options.", "location": "path", "required": true, "type": "string" @@ -3678,19 +3678,19 @@ ], "parameters": { "packageName": { -"description": "Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.", +"description": "Required. The parent app (package name) of the offers to retrieve. Must be equal to the package_name field on all the requests.", "location": "path", "required": true, "type": "string" }, "productId": { -"description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".", +"description": "Required. The product ID of the parent one-time product, if all offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".", "location": "path", "required": true, "type": "string" }, "purchaseOptionId": { -"description": "Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.", +"description": "Required. The parent purchase option (ID) for which the offers should be retrieved. May be specified as '-' to retrieve offers from multiple purchase options.", "location": "path", "required": true, "type": "string" @@ -3909,7 +3909,7 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A page token, received from a previous `ListOneTimeProductsOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductsOffersRequest` must match the call that provided the page token.", +"description": "Optional. A page token, received from a previous `ListOneTimeProductOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductOffersRequest` must match the call that provided the page token.", "location": "query", "type": "string" }, @@ -5970,7 +5970,7 @@ } } }, -"revision": "20261022", +"revision": "20261026", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6856,7 +6856,7 @@ "id": "BatchDeleteOneTimeProductOffersRequest", "properties": { "requests": { -"description": "Required. A list of update requests of up to 100 elements. All requests must correspond to different offers.", +"description": "Required. A list of delete requests of up to 100 elements. All requests must correspond to different offers.", "items": { "$ref": "DeleteOneTimeProductOfferRequest" }, @@ -6912,7 +6912,7 @@ "id": "BatchGetOneTimeProductOffersResponse", "properties": { "oneTimeProductOffers": { -"description": "The list of updated one-time product offers, in the same order as the request.", +"description": "The list of requested one-time product offers, in the same order as the request.", "items": { "$ref": "OneTimeProductOffer" }, @@ -10950,7 +10950,7 @@ true "The offer is not and has never been available to users.", "The offer is available to users, as long as its conditions are met.", "This state is specific to pre-orders. The offer is cancelled and not available to users. All pending orders related to this offer were cancelled.", -"This state is specific to discounted offers. The offer is no longer available to users." +"This state is specific to discounted and game reward offers. The offer is no longer available to users." ], "readOnly": true, "type": "string" @@ -14304,7 +14304,7 @@ true }, "deactivateOneTimeProductOfferRequest": { "$ref": "DeactivateOneTimeProductOfferRequest", -"description": "Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers." +"description": "Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted and game reward offers." } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/apihub.v1.json b/googleapiclient/discovery_cache/documents/apihub.v1.json index ea7afb32e6..c534f6fb9d 100644 --- a/googleapiclient/discovery_cache/documents/apihub.v1.json +++ b/googleapiclient/discovery_cache/documents/apihub.v1.json @@ -29,6 +29,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://apihub.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://apihub.asia-south1.rep.googleapis.com/", "location": "asia-south1" }, @@ -49,21 +54,56 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://apihub.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://apihub.europe-west3.rep.googleapis.com/", "location": "europe-west3" }, { "description": "Regional Endpoint", +"endpointUrl": "https://apihub.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://apihub.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, { "description": "Regional Endpoint", +"endpointUrl": "https://apihub.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apihub.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apihub.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://apihub.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, { "description": "Regional Endpoint", +"endpointUrl": "https://apihub.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apihub.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://apihub.us-central1.rep.googleapis.com/", "location": "us-central1" }, @@ -3455,7 +3495,7 @@ } } }, -"revision": "20260922", +"revision": "20261022", "rootUrl": "https://apihub.googleapis.com/", "schemas": { "Empty": { diff --git a/googleapiclient/discovery_cache/documents/appengine.v1.json b/googleapiclient/discovery_cache/documents/appengine.v1.json index fb897603af..de65bb086c 100644 --- a/googleapiclient/discovery_cache/documents/appengine.v1.json +++ b/googleapiclient/discovery_cache/documents/appengine.v1.json @@ -2753,7 +2753,7 @@ } } }, -"revision": "20260717", +"revision": "20261023", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -5380,6 +5380,10 @@ true "description": "Whether to deploy this version in a container on a virtual machine.", "type": "boolean" }, +"vpcAccess": { +"$ref": "VpcAccess", +"description": "Enables VPC access connectivity for standard apps." +}, "vpcAccessConnector": { "$ref": "VpcAccessConnector", "description": "Enables VPC connectivity for standard apps." @@ -5414,6 +5418,34 @@ true }, "type": "object" }, +"VpcAccess": { +"description": "VPC Access settings", +"id": "VpcAccess", +"properties": { +"networkInterfaces": { +"description": "The Direct VPC configuration. Currently only single network interface is supported.", +"items": { +"$ref": "VpcNetworkInterface" +}, +"type": "array" +}, +"vpcEgress": { +"description": "The traffic egress setting for the VPC network interface, controlling what traffic is diverted through it.", +"enum": [ +"VPC_EGRESS_UNSPECIFIED", +"ALL_TRAFFIC", +"PRIVATE_IP_RANGES" +], +"enumDescriptions": [ +"No value set; apply default behavior", +"Force all traffic to egress through the NetworkInterface (and configured VPC Network)", +"Force all Private IP Space traffic to egress through NetworkInterface (and configured VPC Network)" +], +"type": "string" +} +}, +"type": "object" +}, "VpcAccessConnector": { "description": "VPC access connector specification.", "id": "VpcAccessConnector", @@ -5439,6 +5471,28 @@ true }, "type": "object" }, +"VpcNetworkInterface": { +"description": "Network interface key message.", +"id": "VpcNetworkInterface", +"properties": { +"network": { +"description": "Optional. The VPC network that the App Engine resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork. Could be either a short name or a full path. e.g. {VPC_NETWORK} or projects/{HOST_PROJECT_ID}/global/networks/{VPC_NETWORK}", +"type": "string" +}, +"subnet": { +"description": "Optional. The VPC subnetwork that the App Engine resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used. Could be either a short name or a full path. e.g. {SUBNET_NAME} or projects/{HOST_PROJECT_ID}/regions/{REGION}/subnetworks/{SUBNET_NAME}", +"type": "string" +}, +"tags": { +"description": "Optional. The network tags that will be applied to this App Engine resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "ZipInfo": { "description": "The zip file information for a zip deployment.", "id": "ZipInfo", diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json index bca12f0b54..6df2d0dda9 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json @@ -112,7 +112,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFindingSummaries.list", @@ -121,7 +121,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -132,12 +132,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -157,7 +157,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.aggregate", @@ -166,7 +166,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -183,7 +183,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -199,7 +199,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.fetch", @@ -208,18 +208,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -239,7 +239,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -248,7 +248,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -259,12 +259,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -286,7 +286,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceSummaries.list", @@ -295,7 +295,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -306,19 +306,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -354,7 +354,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFindingSummaries.list", @@ -363,7 +363,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -374,12 +374,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -399,7 +399,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.aggregate", @@ -408,7 +408,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -425,7 +425,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -441,7 +441,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.fetch", @@ -450,18 +450,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -481,7 +481,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -490,7 +490,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -501,12 +501,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -528,7 +528,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceSummaries.list", @@ -537,7 +537,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -548,19 +548,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -1060,7 +1060,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"description": "Required. The resource name of the violation to acknowledge. Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", "required": true, @@ -1079,7 +1079,7 @@ ] }, "get": { -"description": "Retrieves Assured Workload Violation based on ID.", +"description": "Retrieves an Assured Workloads violation by its resource name.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.workloads.violations.get", @@ -1088,14 +1088,14 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"description": "Required. The resource name of the violation to retrieve (that is, the value of `Violation.name`). Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for fetching violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1128,7 +1128,7 @@ ], "parameters": { "filter": { -"description": "Optional. A custom filter for filtering by the Violations properties.", +"description": "Optional. A filter expression that restricts the violations that are returned. The syntax follows [AIP-160](https://google.aip.dev/160). Only the equality operator (`=`) is supported, and expressions can be combined with `AND`, `OR`, and `NOT`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `violationId`, `category`, `state` (`UNRESOLVED`, `RESOLVED`, or `EXCEPTION`), `violationType` (`ORG_POLICY` or `RESOURCE`), `resourceType`, `resourceName`, `project`, `associatedOrgPolicyViolationId`, `cloudControlName`, `workloadDisplayName`, and `complianceType` (a framework ID). Example: `state = \"UNRESOLVED\" AND complianceType = \"builtin-fedramp-high\"`", "location": "query", "type": "string" }, @@ -1145,30 +1145,30 @@ "type": "string" }, "orderBy": { -"description": "Optional. Actionable sorting delegation.", +"description": "Optional. A comma-separated list of fields to sort the results by. The default sort order is ascending; to sort in descending order, append ` desc` to the field name. For example, `update_time desc,category`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `begin_time`, `update_time`, `resource_type`, `state`, and `category`. If not specified, results are sorted by `begin_time` in descending order.", "location": "query", "type": "string" }, "pageSize": { -"description": "Optional. Page size.", +"description": "Optional. The maximum number of violations to return. The service might return fewer violations than this value. If unspecified, at most 100 violations are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { -"description": "Optional. Page token returned from previous request.", +"description": "Optional. A page token, received from a previous `ListViolations` call. Provide this token to retrieve the subsequent page. When paginating, all other parameters that are provided to `ListViolations` must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.", +"description": "Required. The workload to list violations for. To list violations across all workloads in an organization, use `-` as the workload ID. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, violations are listed for the entire organization and location, and the workload ID is ignored. Format: `organizations/{organization}/locations/{location}/workloads/{workload}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for fetching violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) to list violations for. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1206,7 +1206,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFindingSummaries.list", @@ -1215,7 +1215,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -1226,12 +1226,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1251,7 +1251,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.aggregate", @@ -1260,7 +1260,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -1277,7 +1277,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1293,7 +1293,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.fetch", @@ -1302,18 +1302,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1333,7 +1333,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -1342,7 +1342,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -1353,12 +1353,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1380,7 +1380,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceSummaries.list", @@ -1389,7 +1389,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -1400,19 +1400,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -1442,38 +1442,38 @@ } } }, -"revision": "20261006", +"revision": "20261026", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { -"description": "Request for acknowledging the violation", +"description": "Request message for acknowledging a violation.", "id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest", "properties": { "acknowledgeType": { -"description": "Optional. Acknowledge type of specified violation.", +"description": "Optional. The scope of the acknowledgement for the specified violation. If not specified, `SINGLE_VIOLATION` is used.", "enum": [ "ACKNOWLEDGE_TYPE_UNSPECIFIED", "SINGLE_VIOLATION", "EXISTING_CHILD_RESOURCE_VIOLATIONS" ], "enumDescriptions": [ -"Acknowledge type unspecified.", -"Acknowledge only the specific violation.", -"Acknowledge specified orgPolicy violation and also associated resource violations." +"Default value. The acknowledge type isn't specified.", +"Acknowledges only the specified violation.", +"Acknowledges the specified organization policy violation and all of its existing associated resource violations." ], "type": "string" }, "comment": { -"description": "Required. Business justification explaining the need for violation acknowledgement", +"description": "Required. The business justification for acknowledging the violation. The comment can't be empty or contain only whitespace characters.", "type": "string" }, "nonCompliantOrgPolicy": { "deprecated": true, -"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"description": "Optional. Deprecated: This field is deprecated and will be removed in a future version of the API. The service identifies the violation to acknowledge by `name`, and ignores this field. Don't set this field. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`", "type": "string" }, "view": { -"description": "Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for acknowledging violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1490,7 +1490,7 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse": { -"description": "Response for violation acknowledgement", +"description": "Response message for acknowledging a violation. This message is empty.", "id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse", "properties": {}, "type": "object" @@ -1500,7 +1500,7 @@ "id": "GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse", "properties": { "aggregatedComplianceReports": { -"description": "The list of aggregated compliance reports.", +"description": "The daily compliance reports for the requested time range.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1AggregatedComplianceReport" }, @@ -1510,15 +1510,15 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1AggregatedComplianceReport": { -"description": "The aggregated compliance report.", +"description": "A point-in-time compliance report for a framework.", "id": "GoogleCloudAssuredworkloadsV1AggregatedComplianceReport", "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework at `report_time`." }, "reportTime": { -"description": "The report time of the aggregated compliance report.", +"description": "The time that the compliance report represents.", "format": "google-datetime", "type": "string" } @@ -2026,7 +2026,7 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1DbControlComplianceSummary": { -"description": "The details for control compliance.", +"description": "A summary of the compliance status of a control in a framework compliance report.", "id": "GoogleCloudAssuredworkloadsV1DbControlComplianceSummary", "properties": { "cloudControlReports": { @@ -2076,7 +2076,7 @@ false "type": "boolean" }, "name": { -"description": "Identifier. The name of the control compliance summary.", +"description": "Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}`", "type": "string" }, "orgPolicyFindingCount": { @@ -2124,16 +2124,16 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1DbFindingSummary": { -"description": "The details for a finding.", +"description": "A summary of the active findings for a finding category in a Data Boundary scope.", "id": "GoogleCloudAssuredworkloadsV1DbFindingSummary", "properties": { "findingCategory": { -"description": "Output only. The category of the finding.", +"description": "Output only. The category of the findings that are summarized.", "readOnly": true, "type": "string" }, "findingClass": { -"description": "Output only. The class of the finding.", +"description": "Output only. The class of the findings.", "enum": [ "FINDING_CLASS_UNSPECIFIED", "THREAT", @@ -2162,36 +2162,36 @@ false "type": "string" }, "findingCount": { -"description": "Output only. The count of the finding.", +"description": "Output only. The total number of active findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "name": { -"description": "Identifier. The name of the finding summary.", +"description": "Identifier. The resource name of the finding summary.", "type": "string" }, "organizationPolicyFindingCount": { -"description": "Output only. Number of active organization policy findings for this category.", +"description": "Output only. The number of active organization policy findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "relatedFrameworks": { -"description": "Optional. The list of compliance frameworks that the finding belongs to.", +"description": "Optional. The display names of the compliance frameworks that the findings are related to.", "items": { "type": "string" }, "type": "array" }, "resourceFindingCount": { -"description": "Output only. Number of active resource findings for this category.", +"description": "Output only. The number of active resource findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "severity": { -"description": "Output only. The severity of the finding.", +"description": "Output only. The severity of the findings.", "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", @@ -2210,7 +2210,7 @@ false "type": "string" }, "updateTime": { -"description": "Output only. The last updated time of the finding.", +"description": "Output only. The time when the findings in the category were last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2219,30 +2219,30 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary": { -"description": "The details for a framework compliance summary.", +"description": "A summary of the compliance status of a framework that's deployed in a Data Boundary scope.", "id": "GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary", "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework." }, "controlsPassingTrend": { "$ref": "GoogleCloudAssuredworkloadsV1Trend", -"description": "Output only. The trend of controls that are passing for the given duration.", +"description": "Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`.", "readOnly": true }, "findingCount": { -"description": "Output only. The count of the findings generated against the framework.", +"description": "Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`.", "format": "int64", "readOnly": true, "type": "string" }, "framework": { -"description": "The name of the framework.", +"description": "The resource name of the compliance framework.", "type": "string" }, "frameworkCategories": { -"description": "The list of framework categories supported by the framework.", +"description": "The categories of the framework.", "items": { "enum": [ "FRAMEWORK_CATEGORY_UNSPECIFIED", @@ -2265,11 +2265,11 @@ false "type": "array" }, "frameworkDisplayName": { -"description": "Optional. The display name for the framework.", +"description": "Optional. The display name of the framework.", "type": "string" }, "frameworkType": { -"description": "The type of framework.", +"description": "The type of the framework.", "enum": [ "FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", @@ -2293,11 +2293,11 @@ false "type": "string" }, "name": { -"description": "Identifier. The name of the framework compliance summary.", +"description": "Identifier. The resource name of the framework compliance summary.", "type": "string" }, "supportedCloudProviders": { -"description": "The list of cloud providers supported by the framework.", +"description": "The cloud providers that are supported by the framework.", "items": { "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", @@ -2316,7 +2316,7 @@ false "type": "array" }, "targetResourceDetails": { -"description": "The target resource details for the framework.", +"description": "The details of the target resources (organizations, folders, or projects) that the framework is deployed on.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1TargetResourceDetails" }, @@ -2343,14 +2343,14 @@ false "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework." }, "framework": { -"description": "The name of the framework.", +"description": "The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`.", "type": "string" }, "frameworkCategories": { -"description": "The list of framework categories supported.", +"description": "The categories of the framework.", "items": { "enum": [ "FRAMEWORK_CATEGORY_UNSPECIFIED", @@ -2377,7 +2377,7 @@ false "type": "string" }, "frameworkDisplayName": { -"description": "Optional. The display name for the framework.", +"description": "Optional. The display name of the framework.", "type": "string" }, "frameworkType": { @@ -2405,11 +2405,11 @@ false "type": "string" }, "name": { -"description": "The name of the framework compliance report.", +"description": "The resource name of the framework compliance report.", "type": "string" }, "supportedCloudProviders": { -"description": "The list of cloud providers that are supported by the framework.", +"description": "The cloud providers that are supported by the framework.", "items": { "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", @@ -2428,14 +2428,14 @@ false "type": "array" }, "targetResourceDetails": { -"description": "The target resource details of the framework.", +"description": "The details of the target resources (organizations, folders, or projects) that the framework is deployed on.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1TargetResourceDetails" }, "type": "array" }, "updateTime": { -"description": "Output only. The last updated time of the report.", +"description": "Output only. The time when the report was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2444,18 +2444,18 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse": { -"description": "The response message for ListDBControlComplianceSummaries.", +"description": "The response message for ListDbControlComplianceSummaries.", "id": "GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse", "properties": { "dbControlComplianceSummaries": { -"description": "The list of control compliance details.", +"description": "The list of control compliance summaries.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1DbControlComplianceSummary" }, "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2467,14 +2467,14 @@ false "id": "GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse", "properties": { "dbFindingSummaries": { -"description": "List of finding summary by category.", +"description": "The list of finding summaries, one for each finding category.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1DbFindingSummary" }, "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2482,7 +2482,7 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse": { -"description": "The response message for ListDbFrameworkComplianceSummariesResponse.", +"description": "The response message for ListDbFrameworkComplianceSummaries.", "id": "GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse", "properties": { "dbFrameworkComplianceSummaries": { @@ -2493,7 +2493,7 @@ false "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2501,20 +2501,20 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ListViolationsResponse": { -"description": "Response of ListViolations endpoint.", +"description": "Response message for the `ListViolations` method.", "id": "GoogleCloudAssuredworkloadsV1ListViolationsResponse", "properties": { "nextPageToken": { -"description": "The next page token. Returns empty if reached the last page.", +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "type": "string" }, "totalSize": { -"description": "The total number of violations.", +"description": "The total number of violations that match the request, across all pages. This field might not be populated for all requests; when it's not populated, its value is `0`.", "format": "int32", "type": "integer" }, "violations": { -"description": "List of Violations under a Workload.", +"description": "The list of violations.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1Violation" }, @@ -2892,20 +2892,20 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1Violation": { -"description": "Workload monitoring Violation.", +"description": "A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework.", "id": "GoogleCloudAssuredworkloadsV1Violation", "properties": { "acknowledged": { -"description": "A boolean that indicates if the violation is acknowledged", +"description": "Whether the violation has been acknowledged.", "type": "boolean" }, "acknowledgementTime": { -"description": "Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.", +"description": "Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`.", "format": "google-datetime", "type": "string" }, "affectedFrameworks": { -"description": "Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. \"FedRAMP High\", \"NIST 800-53\".", +"description": "Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`.", "items": { "type": "string" }, @@ -2913,44 +2913,44 @@ false "type": "array" }, "associatedOrgPolicyViolationId": { -"description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "auditLogLink": { -"description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}", +"description": "Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}`", "readOnly": true, "type": "string" }, "beginTime": { -"description": "Output only. Time of the event which triggered the Violation.", +"description": "Output only. The time of the event that triggered the violation.", "format": "google-datetime", "readOnly": true, "type": "string" }, "category": { -"description": "Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.", +"description": "Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`.", "readOnly": true, "type": "string" }, "childResourceViolationCount": { -"description": "Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation.", +"description": "Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations.", "format": "int32", "readOnly": true, "type": "integer" }, "description": { -"description": "Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.", +"description": "Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.`", "readOnly": true, "type": "string" }, "exceptionAuditLogLink": { -"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}", +"description": "Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}`", "readOnly": true, "type": "string" }, "exceptionContexts": { -"description": "Output only. List of all the exception detail added for the violation.", +"description": "Output only. The details of all of the acknowledgements (exceptions) for the violation.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext" }, @@ -2958,54 +2958,54 @@ false "type": "array" }, "name": { -"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}", +"description": "Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}`", "readOnly": true, "type": "string" }, "nonCompliantOrgPolicy": { -"description": "Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"description": "Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`", "readOnly": true, "type": "string" }, "orgPolicyConstraint": { "deprecated": true, -"description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", +"description": "Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation.", "readOnly": true, "type": "string" }, "parentProjectNumber": { -"description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "remediation": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediation", -"description": "Output only. Compliance violation remediation", +"description": "Output only. The remediation guidance for the violation.", "readOnly": true }, "remediationMarkdown": { -"description": "Output only. Contains the remediation instructions for the violation in markdown format.", +"description": "Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead.", "readOnly": true, "type": "string" }, "resolveTime": { -"description": "Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.", +"description": "Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved.", "format": "google-datetime", "readOnly": true, "type": "string" }, "resourceName": { -"description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "resourceType": { -"description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "state": { -"description": "Output only. State of the violation", +"description": "Output only. The state of the violation.", "enum": [ "STATE_UNSPECIFIED", "RESOLVED", @@ -3013,31 +3013,31 @@ false "EXCEPTION" ], "enumDescriptions": [ -"Unspecified state.", -"Violation is resolved.", -"Violation is Unresolved", -"Violation is Exception" +"Default value. The state isn't specified.", +"The violation is resolved.", +"The violation is unresolved and hasn't been acknowledged.", +"The violation is unresolved and has been acknowledged as an exception." ], "readOnly": true, "type": "string" }, "updateTime": { -"description": "Output only. The last time when the Violation record was updated.", +"description": "Output only. The time when the violation record was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" }, "violationType": { -"description": "Output only. Type of the violation", +"description": "Output only. The type of the violation.", "enum": [ "VIOLATION_TYPE_UNSPECIFIED", "ORG_POLICY", "RESOURCE" ], "enumDescriptions": [ -"Unspecified type.", -"Org Policy Violation.", -"Resource Violation." +"Default value. The violation type isn't specified.", +"A violation that's caused by a non-compliant change to an organization policy.", +"A violation that's caused by a non-compliant resource." ], "readOnly": true, "type": "string" @@ -3046,31 +3046,31 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ViolationExceptionContext": { -"description": "Violation exception detail.", +"description": "Details about an acknowledgement (exception) of a violation.", "id": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext", "properties": { "acknowledgementTime": { -"description": "Timestamp when the violation was acknowledged.", +"description": "The time when the violation was acknowledged.", "format": "google-datetime", "type": "string" }, "comment": { -"description": "Business justification provided towards the acknowledgement of the violation.", +"description": "The business justification that was provided when the violation was acknowledged.", "type": "string" }, "userName": { -"description": "Name of the user (or service account) who acknowledged the violation.", +"description": "The name of the user (or service account) who acknowledged the violation.", "type": "string" } }, "type": "object" }, "GoogleCloudAssuredworkloadsV1ViolationRemediation": { -"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload", +"description": "Remediation guidance to resolve a compliance violation.", "id": "GoogleCloudAssuredworkloadsV1ViolationRemediation", "properties": { "compliantValues": { -"description": "Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values", +"description": "The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values.", "items": { "type": "string" }, @@ -3078,10 +3078,10 @@ false }, "instructions": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions", -"description": "Required. Remediation instructions to resolve violations" +"description": "Required. The instructions to resolve the violation." }, "remediationType": { -"description": "Output only. Reemediation type based on the type of org policy values violated", +"description": "Output only. The remediation type, which is based on the type of organization policy values that were violated.", "enum": [ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", @@ -3092,13 +3092,13 @@ false "REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" ], "enumDescriptions": [ -"Unspecified remediation type", -"Remediation type for boolean org policy", -"Remediation type for list org policy which have allowed values in the monitoring rule", -"Remediation type for list org policy which have denied values in the monitoring rule", -"Remediation type for gcp.restrictCmekCryptoKeyProjects", -"Remediation type for resource violation.", -"Remediation type for resource violation due to gcp.restrictNonCmekServices" +"Default value. The remediation type isn't specified.", +"Remediation for a boolean organization policy violation.", +"Remediation for a list organization policy violation where the monitoring rule specifies allowed values.", +"Remediation for a list organization policy violation where the monitoring rule specifies denied values.", +"Remediation for a `gcp.restrictCmekCryptoKeyProjects` organization policy violation.", +"Remediation for a resource violation.", +"Remediation for a resource violation that's caused by the `gcp.restrictNonCmekServices` organization policy." ], "readOnly": true, "type": "string" @@ -3107,40 +3107,40 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions": { -"description": "Instructions to remediate violation", +"description": "Instructions to remediate a violation.", "id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions", "properties": { "consoleInstructions": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole", -"description": "Remediation instructions to resolve violation via cloud console" +"description": "Instructions to resolve the violation by using the Google Cloud console." }, "gcloudInstructions": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud", -"description": "Remediation instructions to resolve violation via gcloud cli" +"description": "Instructions to resolve the violation by using the gcloud CLI." } }, "type": "object" }, "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole": { -"description": "Remediation instructions to resolve violation via cloud console", +"description": "Instructions to remediate a violation by using the Google Cloud console.", "id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole", "properties": { "additionalLinks": { -"description": "Additional urls for more information about steps", +"description": "Additional URLs with more information about the steps.", "items": { "type": "string" }, "type": "array" }, "consoleUris": { -"description": "Link to console page where violations can be resolved", +"description": "Links to the Google Cloud console pages where the violation can be resolved.", "items": { "type": "string" }, "type": "array" }, "steps": { -"description": "Steps to resolve violation via cloud console", +"description": "The steps to resolve the violation by using the Google Cloud console.", "items": { "type": "string" }, @@ -3150,25 +3150,25 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud": { -"description": "Remediation instructions to resolve violation via gcloud cli", +"description": "Instructions to remediate a violation by using the Google Cloud CLI.", "id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud", "properties": { "additionalLinks": { -"description": "Additional urls for more information about steps", +"description": "Additional URLs with more information about the steps.", "items": { "type": "string" }, "type": "array" }, "gcloudCommands": { -"description": "Gcloud command to resolve violation", +"description": "The gcloud CLI commands that resolve the violation.", "items": { "type": "string" }, "type": "array" }, "steps": { -"description": "Steps to resolve violation via gcloud cli", +"description": "The steps to resolve the violation by using the gcloud CLI.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json index 334ddf2ae8..c7574fd4da 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json @@ -112,7 +112,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFindingSummaries.list", @@ -121,7 +121,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -132,12 +132,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -157,7 +157,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.aggregate", @@ -166,7 +166,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -183,7 +183,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -199,7 +199,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.fetch", @@ -208,18 +208,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -239,7 +239,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -248,7 +248,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -259,12 +259,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -286,7 +286,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.folders.locations.dbFrameworkComplianceSummaries.list", @@ -295,7 +295,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -306,19 +306,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -354,7 +354,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFindingSummaries.list", @@ -363,7 +363,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -374,12 +374,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -399,7 +399,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.aggregate", @@ -408,7 +408,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -425,7 +425,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -441,7 +441,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.fetch", @@ -450,18 +450,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -481,7 +481,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -490,7 +490,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -501,12 +501,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -528,7 +528,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.dbFrameworkComplianceSummaries.list", @@ -537,7 +537,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -548,19 +548,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -1032,7 +1032,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"description": "Required. The resource name of the violation to acknowledge. Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", "required": true, @@ -1051,7 +1051,7 @@ ] }, "get": { -"description": "Retrieves Assured Workload Violation based on ID.", +"description": "Retrieves an Assured Workloads violation by its resource name.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.workloads.violations.get", @@ -1060,14 +1060,14 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"description": "Required. The resource name of the violation to retrieve (that is, the value of `Violation.name`). Format: `organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for fetching violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1100,7 +1100,7 @@ ], "parameters": { "filter": { -"description": "Optional. A custom filter for filtering by the Violations properties.", +"description": "Optional. A filter expression that restricts the violations that are returned. The syntax follows [AIP-160](https://google.aip.dev/160). Only the equality operator (`=`) is supported, and expressions can be combined with `AND`, `OR`, and `NOT`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `violationId`, `category`, `state` (`UNRESOLVED`, `RESOLVED`, or `EXCEPTION`), `violationType` (`ORG_POLICY` or `RESOURCE`), `resourceType`, `resourceName`, `project`, `associatedOrgPolicyViolationId`, `cloudControlName`, `workloadDisplayName`, and `complianceType` (a framework ID). Example: `state = \"UNRESOLVED\" AND complianceType = \"builtin-fedramp-high\"`", "location": "query", "type": "string" }, @@ -1117,30 +1117,30 @@ "type": "string" }, "orderBy": { -"description": "Optional. Actionable sorting delegation.", +"description": "Optional. A comma-separated list of fields to sort the results by. The default sort order is ascending; to sort in descending order, append ` desc` to the field name. For example, `update_time desc,category`. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, the following fields are supported: `begin_time`, `update_time`, `resource_type`, `state`, and `category`. If not specified, results are sorted by `begin_time` in descending order.", "location": "query", "type": "string" }, "pageSize": { -"description": "Optional. Page size.", +"description": "Optional. The maximum number of violations to return. The service might return fewer violations than this value. If unspecified, at most 100 violations are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { -"description": "Optional. Page token returned from previous request.", +"description": "Optional. A page token, received from a previous `ListViolations` call. Provide this token to retrieve the subsequent page. When paginating, all other parameters that are provided to `ListViolations` must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.", +"description": "Required. The workload to list violations for. To list violations across all workloads in an organization, use `-` as the workload ID. When `view` is `VIOLATION_VIEW_DATA_BOUNDARY`, violations are listed for the entire organization and location, and the workload ID is ignored. Format: `organizations/{organization}/locations/{location}/workloads/{workload}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for fetching violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) to list violations for. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1178,7 +1178,7 @@ "dbFindingSummaries": { "methods": { "list": { -"description": "Lists the finding summary by category for a given scope.", +"description": "Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dbFindingSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFindingSummaries.list", @@ -1187,7 +1187,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -1198,12 +1198,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location}", +"description": "Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1223,7 +1223,7 @@ "dbFrameworkComplianceReports": { "methods": { "aggregate": { -"description": "Gets the aggregated compliance report over time for a given scope.", +"description": "Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.aggregate", @@ -1232,7 +1232,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework).", "location": "query", "type": "string" }, @@ -1249,7 +1249,7 @@ "type": "string" }, "name": { -"description": "Required. The name of the aggregated compliance report over time to retrieve. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", +"description": "Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1265,7 +1265,7 @@ ] }, "fetch": { -"description": "Fetches the framework compliance report for a given scope.", +"description": "Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.fetch", @@ -1274,18 +1274,18 @@ ], "parameters": { "endTime": { -"description": "Optional. The end time of the report.", +"description": "Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state.", "format": "google-datetime", "location": "query", "type": "string" }, "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, "name": { -"description": "Required. The name of the framework compliance report to retrieve.", +"description": "Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1305,7 +1305,7 @@ "dbControlComplianceSummaries": { "methods": { "list": { -"description": "Lists the control compliance summary for a given scope.", +"description": "Lists the compliance summaries of the controls in a framework compliance report.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list", @@ -1314,7 +1314,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = \"2026-01-01T00:00:00Z\"`. Only findings that were updated at or after this time are counted.", "location": "query", "type": "string" }, @@ -1325,12 +1325,12 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}", +"description": "Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dbFrameworkComplianceReports/[^/]+$", "required": true, @@ -1352,7 +1352,7 @@ "dbFrameworkComplianceSummaries": { "methods": { "list": { -"description": "Lists the framework compliance summary for a given scope.", +"description": "Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project).", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceSummaries", "httpMethod": "GET", "id": "assuredworkloads.projects.locations.dbFrameworkComplianceSummaries.list", @@ -1361,7 +1361,7 @@ ], "parameters": { "filter": { -"description": "Optional. The filtering results.", +"description": "Optional. A filter expression that restricts the results. Reserved for future use.", "location": "query", "type": "string" }, @@ -1372,19 +1372,19 @@ "type": "integer" }, "pageToken": { -"description": "Optional. A token that identifies the page of results that the server should return. Pass the next_page_token value from a previous result.", +"description": "Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result.", "location": "query", "type": "string" }, "parent": { -"description": "Required. The parent scope for the framework compliance summary. Format: organizations/{organization}/locations/{location} folders/{folder}/locations/{location} projects/{project}/locations/{location}", +"description": "Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "view": { -"description": "Optional. Specifies the level of detail to return in the response.", +"description": "Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used.", "enum": [ "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED", "FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC", @@ -1414,38 +1414,38 @@ } } }, -"revision": "20261006", +"revision": "20261026", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { -"description": "Request for acknowledging the violation", +"description": "Request message for acknowledging a violation.", "id": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest", "properties": { "acknowledgeType": { -"description": "Optional. Acknowledge type of specified violation.", +"description": "Optional. The scope of the acknowledgement for the specified violation. If not specified, `SINGLE_VIOLATION` is used.", "enum": [ "ACKNOWLEDGE_TYPE_UNSPECIFIED", "SINGLE_VIOLATION", "EXISTING_CHILD_RESOURCE_VIOLATIONS" ], "enumDescriptions": [ -"Acknowledge type unspecified.", -"Acknowledge only the specific violation.", -"Acknowledge specified orgPolicy violation and also associated resource violations." +"Default value. The acknowledge type isn't specified.", +"Acknowledges only the specified violation.", +"Acknowledges the specified organization policy violation and all of its existing associated resource violations." ], "type": "string" }, "comment": { -"description": "Required. Business justification explaining the need for violation acknowledgement", +"description": "Required. The business justification for acknowledging the violation. The comment can't be empty or contain only whitespace characters.", "type": "string" }, "nonCompliantOrgPolicy": { "deprecated": true, -"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"description": "Optional. Deprecated: This field is deprecated and will be removed in a future version of the API. The service identifies the violation to acknowledge by `name`, and ignores this field. Don't set this field. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`", "type": "string" }, "view": { -"description": "Optional. Specifies the violation view (`AssuredWorkloads` or `DataBoundary`) for acknowledging violations.", +"description": "Optional. The violation view (`VIOLATION_VIEW_ASSURED_WORKLOADS` or `VIOLATION_VIEW_DATA_BOUNDARY`) that the violation belongs to. If not specified, `VIOLATION_VIEW_ASSURED_WORKLOADS` is used.", "enum": [ "VIOLATION_VIEW_UNSPECIFIED", "VIOLATION_VIEW_ASSURED_WORKLOADS", @@ -1462,7 +1462,7 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse": { -"description": "Response for violation acknowledgement", +"description": "Response message for acknowledging a violation. This message is empty.", "id": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse", "properties": {}, "type": "object" @@ -1472,7 +1472,7 @@ "id": "GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse", "properties": { "aggregatedComplianceReports": { -"description": "The list of aggregated compliance reports.", +"description": "The daily compliance reports for the requested time range.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1AggregatedComplianceReport" }, @@ -1482,15 +1482,15 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1AggregatedComplianceReport": { -"description": "The aggregated compliance report.", +"description": "A point-in-time compliance report for a framework.", "id": "GoogleCloudAssuredworkloadsV1beta1AggregatedComplianceReport", "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework at `report_time`." }, "reportTime": { -"description": "The report time of the aggregated compliance report.", +"description": "The time that the compliance report represents.", "format": "google-datetime", "type": "string" } @@ -2005,7 +2005,7 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1DbControlComplianceSummary": { -"description": "The details for control compliance.", +"description": "A summary of the compliance status of a control in a framework compliance report.", "id": "GoogleCloudAssuredworkloadsV1beta1DbControlComplianceSummary", "properties": { "cloudControlReports": { @@ -2055,7 +2055,7 @@ false "type": "boolean" }, "name": { -"description": "Identifier. The name of the control compliance summary.", +"description": "Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}`", "type": "string" }, "orgPolicyFindingCount": { @@ -2103,16 +2103,16 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1DbFindingSummary": { -"description": "The details for a finding.", +"description": "A summary of the active findings for a finding category in a Data Boundary scope.", "id": "GoogleCloudAssuredworkloadsV1beta1DbFindingSummary", "properties": { "findingCategory": { -"description": "Output only. The category of the finding.", +"description": "Output only. The category of the findings that are summarized.", "readOnly": true, "type": "string" }, "findingClass": { -"description": "Output only. The class of the finding.", +"description": "Output only. The class of the findings.", "enum": [ "FINDING_CLASS_UNSPECIFIED", "THREAT", @@ -2141,36 +2141,36 @@ false "type": "string" }, "findingCount": { -"description": "Output only. The count of the finding.", +"description": "Output only. The total number of active findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "name": { -"description": "Identifier. The name of the finding summary.", +"description": "Identifier. The resource name of the finding summary.", "type": "string" }, "organizationPolicyFindingCount": { -"description": "Output only. Number of active organization policy findings for this category.", +"description": "Output only. The number of active organization policy findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "relatedFrameworks": { -"description": "Optional. The list of compliance frameworks that the finding belongs to.", +"description": "Optional. The display names of the compliance frameworks that the findings are related to.", "items": { "type": "string" }, "type": "array" }, "resourceFindingCount": { -"description": "Output only. Number of active resource findings for this category.", +"description": "Output only. The number of active resource findings in the category.", "format": "int64", "readOnly": true, "type": "string" }, "severity": { -"description": "Output only. The severity of the finding.", +"description": "Output only. The severity of the findings.", "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", @@ -2189,7 +2189,7 @@ false "type": "string" }, "updateTime": { -"description": "Output only. The last updated time of the finding.", +"description": "Output only. The time when the findings in the category were last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2198,30 +2198,30 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1DbFrameworkComplianceSummary": { -"description": "The details for a framework compliance summary.", +"description": "A summary of the compliance status of a framework that's deployed in a Data Boundary scope.", "id": "GoogleCloudAssuredworkloadsV1beta1DbFrameworkComplianceSummary", "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework." }, "controlsPassingTrend": { "$ref": "GoogleCloudAssuredworkloadsV1beta1Trend", -"description": "Output only. The trend of controls that are passing for the given duration.", +"description": "Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`.", "readOnly": true }, "findingCount": { -"description": "Output only. The count of the findings generated against the framework.", +"description": "Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`.", "format": "int64", "readOnly": true, "type": "string" }, "framework": { -"description": "The name of the framework.", +"description": "The resource name of the compliance framework.", "type": "string" }, "frameworkCategories": { -"description": "The list of framework categories supported by the framework.", +"description": "The categories of the framework.", "items": { "enum": [ "FRAMEWORK_CATEGORY_UNSPECIFIED", @@ -2244,11 +2244,11 @@ false "type": "array" }, "frameworkDisplayName": { -"description": "Optional. The display name for the framework.", +"description": "Optional. The display name of the framework.", "type": "string" }, "frameworkType": { -"description": "The type of framework.", +"description": "The type of the framework.", "enum": [ "FRAMEWORK_TYPE_UNSPECIFIED", "BUILT_IN", @@ -2272,11 +2272,11 @@ false "type": "string" }, "name": { -"description": "Identifier. The name of the framework compliance summary.", +"description": "Identifier. The resource name of the framework compliance summary.", "type": "string" }, "supportedCloudProviders": { -"description": "The list of cloud providers supported by the framework.", +"description": "The cloud providers that are supported by the framework.", "items": { "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", @@ -2295,7 +2295,7 @@ false "type": "array" }, "targetResourceDetails": { -"description": "The target resource details for the framework.", +"description": "The details of the target resources (organizations, folders, or projects) that the framework is deployed on.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1TargetResourceDetails" }, @@ -2322,14 +2322,14 @@ false "properties": { "controlAssessmentDetails": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ControlAssessmentDetails", -"description": "The control assessment details of the framework." +"description": "The number of passing, failing, and not assessed controls in the framework." }, "framework": { -"description": "The name of the framework.", +"description": "The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`.", "type": "string" }, "frameworkCategories": { -"description": "The list of framework categories supported.", +"description": "The categories of the framework.", "items": { "enum": [ "FRAMEWORK_CATEGORY_UNSPECIFIED", @@ -2356,7 +2356,7 @@ false "type": "string" }, "frameworkDisplayName": { -"description": "Optional. The display name for the framework.", +"description": "Optional. The display name of the framework.", "type": "string" }, "frameworkType": { @@ -2384,11 +2384,11 @@ false "type": "string" }, "name": { -"description": "The name of the framework compliance report.", +"description": "The resource name of the framework compliance report.", "type": "string" }, "supportedCloudProviders": { -"description": "The list of cloud providers that are supported by the framework.", +"description": "The cloud providers that are supported by the framework.", "items": { "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", @@ -2407,14 +2407,14 @@ false "type": "array" }, "targetResourceDetails": { -"description": "The target resource details of the framework.", +"description": "The details of the target resources (organizations, folders, or projects) that the framework is deployed on.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1TargetResourceDetails" }, "type": "array" }, "updateTime": { -"description": "Output only. The last updated time of the report.", +"description": "Output only. The time when the report was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2423,18 +2423,18 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse": { -"description": "The response message for ListDBControlComplianceSummaries.", +"description": "The response message for ListDbControlComplianceSummaries.", "id": "GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse", "properties": { "dbControlComplianceSummaries": { -"description": "The list of control compliance details.", +"description": "The list of control compliance summaries.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1DbControlComplianceSummary" }, "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2446,14 +2446,14 @@ false "id": "GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse", "properties": { "dbFindingSummaries": { -"description": "List of finding summary by category.", +"description": "The list of finding summaries, one for each finding category.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1DbFindingSummary" }, "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2461,7 +2461,7 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse": { -"description": "The response message for ListDbFrameworkComplianceSummariesResponse.", +"description": "The response message for ListDbFrameworkComplianceSummaries.", "id": "GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse", "properties": { "dbFrameworkComplianceSummaries": { @@ -2472,7 +2472,7 @@ false "type": "array" }, "nextPageToken": { -"description": "Output only. The token to retrieve the next page of results.", +"description": "Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "readOnly": true, "type": "string" } @@ -2480,20 +2480,20 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse": { -"description": "Response of ListViolations endpoint.", +"description": "Response message for the `ListViolations` method.", "id": "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse", "properties": { "nextPageToken": { -"description": "The next page token. Returns empty if reached the last page.", +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "type": "string" }, "totalSize": { -"description": "The total number of violations.", +"description": "The total number of violations that match the request, across all pages. This field might not be populated for all requests; when it's not populated, its value is `0`.", "format": "int32", "type": "integer" }, "violations": { -"description": "List of Violations under a Workload.", +"description": "The list of violations.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1Violation" }, @@ -2851,20 +2851,20 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1Violation": { -"description": "Workload monitoring Violation.", +"description": "A compliance violation that's detected by Assured Workloads monitoring. A violation is created when an organization policy or a resource in a workload (or a Data Boundary scope) changes in a way that doesn't comply with the controls of the applicable compliance regime or framework.", "id": "GoogleCloudAssuredworkloadsV1beta1Violation", "properties": { "acknowledged": { -"description": "A boolean that indicates if the violation is acknowledged", +"description": "Whether the violation has been acknowledged.", "type": "boolean" }, "acknowledgementTime": { -"description": "Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.", +"description": "Optional. The time when the violation was first acknowledged. To find the most recent time that the violation was acknowledged, check `exception_contexts`. This field is absent when `acknowledged` is `false`.", "format": "google-datetime", "type": "string" }, "affectedFrameworks": { -"description": "Output only. List of compliance frameworks that are affected by this violation. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`. e.g. \"FedRAMP High\", \"NIST 800-53\".", +"description": "Output only. The IDs of the compliance frameworks that are affected by this violation. For example, `builtin-fedramp-high`. This field is only populated when using `VIOLATION_VIEW_DATA_BOUNDARY`.", "items": { "type": "string" }, @@ -2872,44 +2872,44 @@ false "type": "array" }, "associatedOrgPolicyViolationId": { -"description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the ID of the organization policy violation that caused this resource violation. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "auditLogLink": { -"description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}", +"description": "Output only. Immutable. A link to the Cloud Audit Logs entries for the violated resource. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}`", "readOnly": true, "type": "string" }, "beginTime": { -"description": "Output only. Time of the event which triggered the Violation.", +"description": "Output only. The time of the event that triggered the violation.", "format": "google-datetime", "readOnly": true, "type": "string" }, "category": { -"description": "Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.", +"description": "Output only. The category that the violation is mapped to. For example, `Location`, `Service Usage`, `Access`, or `Encryption`.", "readOnly": true, "type": "string" }, "childResourceViolationCount": { -"description": "Optional. Output only. The number of resource violations for particular org policy violation. This will be 0 in case of resource violation.", +"description": "Optional. Output only. For organization policy violations, the number of resource violations that are associated with this violation. This field is `0` for resource violations.", "format": "int32", "readOnly": true, "type": "integer" }, "description": { -"description": "Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.", +"description": "Output only. A description of the violation. For example, `OrgPolicy gcp.resourceLocations has non compliant value.`", "readOnly": true, "type": "string" }, "exceptionAuditLogLink": { -"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}", +"description": "Output only. Immutable. A link to the Cloud Audit Logs entries that contain the business justification that was provided when the violation was acknowledged. Format: `https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}`", "readOnly": true, "type": "string" }, "exceptionContexts": { -"description": "Output only. List of all the exception detail added for the violation.", +"description": "Output only. The details of all of the acknowledgements (exceptions) for the violation.", "items": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext" }, @@ -2917,54 +2917,54 @@ false "type": "array" }, "name": { -"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}", +"description": "Output only. Immutable. The resource name of the violation. Format: `organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}`", "readOnly": true, "type": "string" }, "nonCompliantOrgPolicy": { -"description": "Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"description": "Output only. Immutable. The name of the organization policy that was modified with a non-compliant change and resulted in this violation. Formats: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}`", "readOnly": true, "type": "string" }, "orgPolicyConstraint": { "deprecated": true, -"description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", +"description": "Output only. Immutable. Deprecated: This field is deprecated and might be removed in a future version of the API. Use `non_compliant_org_policy` instead, which contains the full resource name of the organization policy, including the constraint name. The organization policy constraint that was changed in a non-compliant way, which resulted in this violation.", "readOnly": true, "type": "string" }, "parentProjectNumber": { -"description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the number of the project that contains the non-compliant resource. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "remediation": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation", -"description": "Output only. Compliance violation remediation", +"description": "Output only. The remediation guidance for the violation.", "readOnly": true }, "remediationMarkdown": { -"description": "Output only. Contains the remediation instructions for the violation in markdown format.", +"description": "Output only. The remediation instructions for the violation, in Markdown format. This field is only populated by `GetViolation` when using `VIOLATION_VIEW_DATA_BOUNDARY`. When this field isn't populated, see `remediation` instead.", "readOnly": true, "type": "string" }, "resolveTime": { -"description": "Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.", +"description": "Output only. The time of the event that resolved the violation. This field is empty if the violation is unresolved.", "format": "google-datetime", "readOnly": true, "type": "string" }, "resourceName": { -"description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the full resource name of the non-compliant resource. For example, `//storage.googleapis.com/myprojectxyz-testbucket`. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "resourceType": { -"description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.", +"description": "Optional. Output only. For resource violations, the type of the non-compliant resource. For example, `compute.googleapis.com/Disk`. This field is empty for organization policy violations.", "readOnly": true, "type": "string" }, "state": { -"description": "Output only. State of the violation", +"description": "Output only. The state of the violation.", "enum": [ "STATE_UNSPECIFIED", "RESOLVED", @@ -2972,31 +2972,31 @@ false "EXCEPTION" ], "enumDescriptions": [ -"Unspecified state.", -"Violation is resolved.", -"Violation is Unresolved", -"Violation is Exception" +"Default value. The state isn't specified.", +"The violation is resolved.", +"The violation is unresolved and hasn't been acknowledged.", +"The violation is unresolved and has been acknowledged as an exception." ], "readOnly": true, "type": "string" }, "updateTime": { -"description": "Output only. The last time when the Violation record was updated.", +"description": "Output only. The time when the violation record was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" }, "violationType": { -"description": "Output only. Type of the violation", +"description": "Output only. The type of the violation.", "enum": [ "VIOLATION_TYPE_UNSPECIFIED", "ORG_POLICY", "RESOURCE" ], "enumDescriptions": [ -"Unspecified type.", -"Org Policy Violation.", -"Resource Violation." +"Default value. The violation type isn't specified.", +"A violation that's caused by a non-compliant change to an organization policy.", +"A violation that's caused by a non-compliant resource." ], "readOnly": true, "type": "string" @@ -3005,31 +3005,31 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext": { -"description": "Violation exception detail.", +"description": "Details about an acknowledgement (exception) of a violation.", "id": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext", "properties": { "acknowledgementTime": { -"description": "Timestamp when the violation was acknowledged.", +"description": "The time when the violation was acknowledged.", "format": "google-datetime", "type": "string" }, "comment": { -"description": "Business justification provided towards the acknowledgement of the violation.", +"description": "The business justification that was provided when the violation was acknowledged.", "type": "string" }, "userName": { -"description": "Name of the user (or service account) who acknowledged the violation.", +"description": "The name of the user (or service account) who acknowledged the violation.", "type": "string" } }, "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation": { -"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload", +"description": "Remediation guidance to resolve a compliance violation.", "id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation", "properties": { "compliantValues": { -"description": "Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values", +"description": "The values that can resolve the violation. For example, for list organization policy violations, this field contains the list of allowed or denied values.", "items": { "type": "string" }, @@ -3037,10 +3037,10 @@ false }, "instructions": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions", -"description": "Required. Remediation instructions to resolve violations" +"description": "Required. The instructions to resolve the violation." }, "remediationType": { -"description": "Output only. Reemediation type based on the type of org policy values violated", +"description": "Output only. The remediation type, which is based on the type of organization policy values that were violated.", "enum": [ "REMEDIATION_TYPE_UNSPECIFIED", "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", @@ -3051,13 +3051,13 @@ false "REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" ], "enumDescriptions": [ -"Unspecified remediation type", -"Remediation type for boolean org policy", -"Remediation type for list org policy which have allowed values in the monitoring rule", -"Remediation type for list org policy which have denied values in the monitoring rule", -"Remediation type for gcp.restrictCmekCryptoKeyProjects", -"Remediation type for resource violation.", -"Remediation type for resource violation due to gcp.restrictNonCmekServices" +"Default value. The remediation type isn't specified.", +"Remediation for a boolean organization policy violation.", +"Remediation for a list organization policy violation where the monitoring rule specifies allowed values.", +"Remediation for a list organization policy violation where the monitoring rule specifies denied values.", +"Remediation for a `gcp.restrictCmekCryptoKeyProjects` organization policy violation.", +"Remediation for a resource violation.", +"Remediation for a resource violation that's caused by the `gcp.restrictNonCmekServices` organization policy." ], "readOnly": true, "type": "string" @@ -3066,40 +3066,40 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions": { -"description": "Instructions to remediate violation", +"description": "Instructions to remediate a violation.", "id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions", "properties": { "consoleInstructions": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole", -"description": "Remediation instructions to resolve violation via cloud console" +"description": "Instructions to resolve the violation by using the Google Cloud console." }, "gcloudInstructions": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud", -"description": "Remediation instructions to resolve violation via gcloud cli" +"description": "Instructions to resolve the violation by using the gcloud CLI." } }, "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole": { -"description": "Remediation instructions to resolve violation via cloud console", +"description": "Instructions to remediate a violation by using the Google Cloud console.", "id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole", "properties": { "additionalLinks": { -"description": "Additional urls for more information about steps", +"description": "Additional URLs with more information about the steps.", "items": { "type": "string" }, "type": "array" }, "consoleUris": { -"description": "Link to console page where violations can be resolved", +"description": "Links to the Google Cloud console pages where the violation can be resolved.", "items": { "type": "string" }, "type": "array" }, "steps": { -"description": "Steps to resolve violation via cloud console", +"description": "The steps to resolve the violation by using the Google Cloud console.", "items": { "type": "string" }, @@ -3109,25 +3109,25 @@ false "type": "object" }, "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud": { -"description": "Remediation instructions to resolve violation via gcloud cli", +"description": "Instructions to remediate a violation by using the Google Cloud CLI.", "id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud", "properties": { "additionalLinks": { -"description": "Additional urls for more information about steps", +"description": "Additional URLs with more information about the steps.", "items": { "type": "string" }, "type": "array" }, "gcloudCommands": { -"description": "Gcloud command to resolve violation", +"description": "The gcloud CLI commands that resolve the violation.", "items": { "type": "string" }, "type": "array" }, "steps": { -"description": "Steps to resolve violation via gcloud cli", +"description": "The steps to resolve the violation by using the gcloud CLI.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/backupdr.v1.json b/googleapiclient/discovery_cache/documents/backupdr.v1.json index 11ad7a6243..6325a1b82d 100644 --- a/googleapiclient/discovery_cache/documents/backupdr.v1.json +++ b/googleapiclient/discovery_cache/documents/backupdr.v1.json @@ -632,7 +632,7 @@ ], "parameters": { "autoProtectionPolicyId": { -"description": "Required. The ID to use for the policy. This will become the final component of the policy's resource name.", +"description": "Required. The ID to use for the policy. This will become the final component of the policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "location": "query", "type": "string" }, @@ -642,6 +642,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1/{+parent}/autoProtectionPolicies", @@ -676,6 +681,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1/{+name}", @@ -770,12 +780,17 @@ ], "parameters": { "name": { -"description": "Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"description": "Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" }, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, "updateMask": { "description": "Optional. Field mask is used to specify the fields to be overwritten in the AutoProtectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", "format": "google-fieldmask", @@ -809,7 +824,7 @@ ], "parameters": { "autoProtectionPolicyBindingId": { -"description": "Required. The ID to use for the binding. This will become the final component of the binding's resource name.", +"description": "Required. The ID to use for the binding. This will become the final component of the binding's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "location": "query", "type": "string" }, @@ -819,6 +834,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1/{+parent}/bindings", @@ -3179,7 +3199,7 @@ } } }, -"revision": "20261014", +"revision": "20261024", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -3763,7 +3783,7 @@ "description": "Required. The criteria for matching resources." }, "description": { -"description": "Optional. A description of the policy.", +"description": "Optional. A description of the policy. The description must be at most 2048 characters.", "type": "string" }, "etag": { @@ -3771,7 +3791,8 @@ "type": "string" }, "name": { -"description": "Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"description": "Output only. Identifier. The resource name of the AutoProtectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"readOnly": true, "type": "string" }, "policyEvaluationSummary": { @@ -3823,7 +3844,7 @@ "type": "string" }, "description": { -"description": "Optional. A description of the binding.", +"description": "Optional. A description of the binding. The description must be at most 2048 characters.", "type": "string" }, "etag": { @@ -3831,7 +3852,8 @@ "type": "string" }, "name": { -"description": "Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`", +"description": "Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`", +"readOnly": true, "type": "string" }, "scope": { @@ -6675,7 +6697,16 @@ "InitiateDeleteAutoProtectionPolicyBindingRequest": { "description": "Request message for initiating delete of an AutoProtectionPolicyBinding.", "id": "InitiateDeleteAutoProtectionPolicyBindingRequest", -"properties": {}, +"properties": { +"etag": { +"description": "Optional. The current etag of the AutoProtectionPolicyBinding. If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, "type": "object" }, "InstanceParams": { diff --git a/googleapiclient/discovery_cache/documents/backupdr.v1beta.json b/googleapiclient/discovery_cache/documents/backupdr.v1beta.json index 5a0672dfbb..d54181b20a 100644 --- a/googleapiclient/discovery_cache/documents/backupdr.v1beta.json +++ b/googleapiclient/discovery_cache/documents/backupdr.v1beta.json @@ -632,7 +632,7 @@ ], "parameters": { "autoProtectionPolicyId": { -"description": "Required. The ID to use for the policy. This will become the final component of the policy's resource name.", +"description": "Required. The ID to use for the policy. This will become the final component of the policy's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "location": "query", "type": "string" }, @@ -642,6 +642,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1beta/{+parent}/autoProtectionPolicies", @@ -676,6 +681,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1beta/{+name}", @@ -770,12 +780,17 @@ ], "parameters": { "name": { -"description": "Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"description": "Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" }, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, "updateMask": { "description": "Optional. Field mask is used to specify the fields to be overwritten in the AutoProtectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", "format": "google-fieldmask", @@ -809,7 +824,7 @@ ], "parameters": { "autoProtectionPolicyBindingId": { -"description": "Required. The ID to use for the binding. This will become the final component of the binding's resource name.", +"description": "Required. The ID to use for the binding. This will become the final component of the binding's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "location": "query", "type": "string" }, @@ -819,6 +834,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/autoProtectionPolicies/[^/]+$", "required": true, "type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" } }, "path": "v1beta/{+parent}/bindings", @@ -3179,7 +3199,7 @@ } } }, -"revision": "20261014", +"revision": "20261024", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -3763,7 +3783,7 @@ "description": "Required. The criteria for matching resources." }, "description": { -"description": "Optional. A description of the policy.", +"description": "Optional. A description of the policy. The description must be at most 2048 characters.", "type": "string" }, "etag": { @@ -3771,7 +3791,8 @@ "type": "string" }, "name": { -"description": "Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"description": "Output only. Identifier. The resource name of the AutoprotectionPolicy. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`", +"readOnly": true, "type": "string" }, "policyEvaluationSummary": { @@ -3823,7 +3844,7 @@ "type": "string" }, "description": { -"description": "Optional. A description of the binding.", +"description": "Optional. A description of the binding. The description must be at most 2048 characters.", "type": "string" }, "etag": { @@ -3831,7 +3852,8 @@ "type": "string" }, "name": { -"description": "Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`", +"description": "Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`", +"readOnly": true, "type": "string" }, "scope": { @@ -6620,7 +6642,16 @@ "InitiateDeleteAutoProtectionPolicyBindingRequest": { "description": "Request message for initiating delete of an AutoProtectionPolicyBinding.", "id": "InitiateDeleteAutoProtectionPolicyBindingRequest", -"properties": {}, +"properties": { +"etag": { +"description": "Optional. The current etag of the AutoProtectionPolicyBinding. If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, "type": "object" }, "InstanceParams": { diff --git a/googleapiclient/discovery_cache/documents/bigquery.v2.json b/googleapiclient/discovery_cache/documents/bigquery.v2.json index d7ac28ad14..f5e21f0d00 100644 --- a/googleapiclient/discovery_cache/documents/bigquery.v2.json +++ b/googleapiclient/discovery_cache/documents/bigquery.v2.json @@ -2395,7 +2395,7 @@ } } }, -"revision": "20260922", +"revision": "20261009", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -5962,6 +5962,10 @@ "description": "Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models.", "type": "boolean" }, +"secureContext": { +"$ref": "SecureContext", +"description": "Optional. A set of key-value pairs representing the secure context. This can be used to pass sensitive or context-specific information. They can be retrieved via the SECURE_CONTEXT() function and used to modify the run-time behavior of an extract job on tables with row access policies." +}, "sourceModel": { "$ref": "ModelReference", "description": "A reference to the model being exported." diff --git a/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json b/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json index cd9c49cc1e..075fd35f47 100644 --- a/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json +++ b/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json @@ -429,7 +429,7 @@ } } }, -"revision": "20260722", +"revision": "20261021", "rootUrl": "https://bigquerydatapolicy.googleapis.com/", "schemas": { "AddGranteesRequest": { @@ -627,6 +627,10 @@ }, "type": "array" }, +"matchingCondition": { +"description": "Optional. Matching condition specified as a SQL expression string. Data Governance Tag matcher functions are: `COLUMN_HAS_TAG_KEY(keyName STRING) -> BOOL` `COLUMN_MATCH_TAG(keyName STRING, valueShortName STRING) -> BOOL` For example: `COLUMN_HAS_TAG_KEY('project-id/pii') AND COLUMN_MATCH_TAG('project-id/pii', 'ssn')`", +"type": "string" +}, "name": { "description": "Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json b/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json index 7920417c2f..547e752cb6 100644 --- a/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +++ b/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json @@ -650,6 +650,7 @@ "$ref": "TransferConfig" }, "scopes": [ +"https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -797,6 +798,7 @@ "$ref": "TransferConfig" }, "scopes": [ +"https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1174,6 +1176,7 @@ "$ref": "TransferConfig" }, "scopes": [ +"https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1321,6 +1324,7 @@ "$ref": "TransferConfig" }, "scopes": [ +"https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ] }, @@ -1656,7 +1660,7 @@ } } }, -"revision": "20261020", +"revision": "20261024", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { diff --git a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json index 01e38561e9..60f84fd991 100644 --- a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +++ b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json @@ -36,6 +36,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://bigqueryreservation.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.europe-west2.rep.googleapis.com/", "location": "europe-west2" }, @@ -1317,7 +1322,7 @@ } } }, -"revision": "20260829", +"revision": "20261024", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { diff --git a/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json b/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json index d6272574ab..ffe527c5aa 100644 --- a/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +++ b/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json @@ -3238,7 +3238,7 @@ } } }, -"revision": "20261007", +"revision": "20261017", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -5694,18 +5694,9 @@ "description": "Name of the backup from which to restore. Values are of the form `projects//instances//clusters//backups/`.", "type": "string" }, -"table": { -"$ref": "Table", -"description": "Optional. Properties of the table to be restored. Only the fields specified in update_mask will be used to set the restored table's properties." -}, "tableId": { "description": "Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects//instances//tables/`.", "type": "string" -}, -"updateMask": { -"description": "Optional. The list of fields to set on the new table. A mask specifying which fields (e.g. `deletion_protection`) in the `table` field should be set. This mask is relative to the `table` field, not to the request message. The wildcard (*) path is currently not supported. Currently RestoreTable only supports the following fields for modification: * `deletion_protection`: Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no automated backup policy if not set. Output-only fields in the mask will be ignored. If any other field not listed above is included in `update_mask`, it will result in an INVALID_ARGUMENT error.", -"format": "google-fieldmask", -"type": "string" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json b/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json index 0cddffb2b6..abb9f4d0c9 100644 --- a/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +++ b/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://businessprofileperformance.googleapis.com/", "batchPath": "batch", "canonicalName": "Business Profile Performance", -"description": "The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -451,7 +451,7 @@ false } } }, -"revision": "20261019", +"revision": "20261026", "rootUrl": "https://businessprofileperformance.googleapis.com/", "schemas": { "DailyMetricTimeSeries": { diff --git a/googleapiclient/discovery_cache/documents/chat.v1.json b/googleapiclient/discovery_cache/documents/chat.v1.json index fd59e53ea2..8a1799d144 100644 --- a/googleapiclient/discovery_cache/documents/chat.v1.json +++ b/googleapiclient/discovery_cache/documents/chat.v1.json @@ -402,6 +402,7 @@ "$ref": "UploadAttachmentResponse" }, "scopes": [ +"https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.messages", "https://www.googleapis.com/auth/chat.messages.create" @@ -1482,6 +1483,7 @@ "$ref": "Reaction" }, "scopes": [ +"https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.messages", "https://www.googleapis.com/auth/chat.messages.reactions", @@ -1510,6 +1512,7 @@ "$ref": "Empty" }, "scopes": [ +"https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.messages", "https://www.googleapis.com/auth/chat.messages.reactions" @@ -2209,7 +2212,7 @@ } } }, -"revision": "20261015", +"revision": "20261026", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessPermissionSetting": { @@ -2781,6 +2784,47 @@ }, "type": "object" }, +"Citation": { +"description": "Citations are inline references that can provide users more detailed information about the inline reference. Corresponding inline citations should be present in the message text in a markup format of `{text}`. Citations are only supported when the message's `markup_syntax` is set to `MARKDOWN`. Unreferenced citations in `Elements.citations` (those without a matching `` tag in the message text) are ignored and do not cause the message to be rejected.", +"id": "Citation", +"properties": { +"citedSources": { +"description": "Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card.", +"items": { +"$ref": "CitedSource" +}, +"type": "array" +}, +"id": { +"description": "Required. The ID of the citation. This ID is defined by the app creating the citation and must match the `data-id` attribute of the `` tag in the message text. Must contain only ASCII letters and numbers, and less than 63 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CitedSource": { +"description": "A reference to a source of information.", +"id": "CitedSource", +"properties": { +"footer": { +"$ref": "Footer", +"description": "Optional. Additional information to show alongside the snippet in the form of a footer." +}, +"snippet": { +"$ref": "Snippet", +"description": "Optional. Snippet containing information directly from the source." +}, +"title": { +"description": "Required. The plaintext title of the `CitedSource`. Does not support markdown format.", +"type": "string" +}, +"uri": { +"description": "Required. The URI pointing to the resource referenced by this `CitedSource`.", +"type": "string" +} +}, +"type": "object" +}, "Color": { "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", "id": "Color", @@ -2816,7 +2860,7 @@ "additionalProperties": { "$ref": "Inputs" }, -"description": "A map containing the current values of the widgets in the displayed card. The map keys are the string IDs assigned with each widget. The structure of the map value object is dependent on the widget type: **Note**: The following examples are formatted for Apps Script's V8 runtime. If you're using Rhino runtime, you must add `[\"\"]` after the value. For example, instead of `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format the event object as `e.commonEventObject.formInputs.employeeName[\"\"].stringInputs.value[0]`. To learn more about runtimes in Apps Script, see the [V8 Runtime Overview](https://developers.google.com/apps-script/guides/v8-runtime). * Single-valued widgets (for example, a text box): a list of strings (only one element). **Example**: for a text input widget with `employeeName` as its ID, access the text input value with: `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`. * Multi-valued widgets (for example, checkbox groups): a list of strings. **Example**: for a multi-value widget with `participants` as its ID, access the value array with: `e.commonEventObject.formInputs.participants.stringInputs.value`. * **A date-time picker**: a [`DateTimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input). **Example**: For a picker with an ID of `myDTPicker`, access the [`DateTimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input) object using `e.commonEventObject.formInputs.myDTPicker.dateTimeInput`. * **A date-only picker**: a [`DateInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input). **Example**: For a picker with an ID of `myDatePicker`, access the [`DateInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input) object using `e.commonEventObject.formInputs.myDatePicker.dateInput`. * **A time-only picker**: a [`TimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input). **Example**: For a picker with an ID of `myTimePicker`, access the [`TimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input) object using `e.commonEventObject.formInputs.myTimePicker.timeInput`.", +"description": "A map containing the current values of the widgets in the displayed card. The map keys are the string `name` values assigned to each input widget (such as `TextInput.name`, `SelectionInput.name`, `DateTimePicker.name`, or `DecoratedText.SwitchControl.name`). The structure of the map value object is dependent on the widget type: **Note**: The following examples are formatted for Apps Script's V8 runtime. If you're using Rhino runtime, you must add `[\"\"]` after the value. For example, instead of `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format the event object as `e.commonEventObject.formInputs.employeeName[\"\"].stringInputs.value[0]`. To learn more about runtimes in Apps Script, see the [V8 Runtime Overview](https://developers.google.com/apps-script/guides/v8-runtime). * Single-valued widgets (for example, a `TextInput` widget, or a `SelectionInput` widget of type `DROPDOWN` or `RADIO_BUTTON`): a `StringInputs` object containing a single-element list (or an empty list if no selection is made). **Example**: for a text input widget with `employeeName` as its `name`, access the text input value with: `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`. * Multi-valued widgets (for example, a `SelectionInput` widget of type `CHECK_BOX`, `SWITCH`, or `MULTI_SELECT`): a `StringInputs` object containing the list of selected item `value` strings. **Example**: for a multi-value widget with `participants` as its `name`, access the value array with: `e.commonEventObject.formInputs.participants.stringInputs.value`. * **A `DecoratedText.SwitchControl` widget**: a `StringInputs` object. When `selected` is `true`, `stringInputs.value` contains the switch's `value` field (or `\"\"` if `value` was not specified; if multiple switches share the same `name`, each selected switch's `value` is included in the list). When `selected` is `false`, the switch's `value` is omitted from `stringInputs.value`. * **A date-time picker (`DateTimePickerType.DATE_AND_TIME`)**: a [`DateTimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input). **Example**: For a picker with a `name` of `myDTPicker`, access the [`DateTimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input) object using `e.commonEventObject.formInputs.myDTPicker.dateTimeInput`. * **A date-only picker (`DateTimePickerType.DATE_ONLY`)**: a [`DateInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input). **Example**: For a picker with a `name` of `myDatePicker`, access the [`DateInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input) object using `e.commonEventObject.formInputs.myDatePicker.dateInput`. * **A time-only picker (`DateTimePickerType.TIME_ONLY`)**: a [`TimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input). **Example**: For a picker with a `name` of `myTimePicker`, access the [`TimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input) object using `e.commonEventObject.formInputs.myTimePicker.timeInput`.", "type": "object" }, "hostApp": { @@ -3148,7 +3192,7 @@ "properties": { "body": { "$ref": "GoogleAppsCardV1Card", -"description": "Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`." +"description": "Input only. Body of the dialog, which is rendered in a modal." } }, "type": "object" @@ -3207,6 +3251,38 @@ }, "type": "object" }, +"Elements": { +"description": "Elements are additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). Both `citations` and `cited_sources` can be provided as input when creating or updating a message and are populated on output when reading a message.", +"id": "Elements", +"properties": { +"citations": { +"description": "Optional. A list of inline citations referenced within the message text (via `` tags) that render as interactive hover cards.", +"items": { +"$ref": "Citation" +}, +"type": "array" +}, +"citedSources": { +"description": "Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use `citations`.", +"items": { +"$ref": "CitedSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ElementsImage": { +"description": "An object encapsulating different ways of representing an image. Currently supported representations: * An image fetched from a URI. Additional representations might be supported in the future.", +"id": "ElementsImage", +"properties": { +"imageUri": { +"description": "Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it.", +"type": "string" +} +}, +"type": "object" +}, "Emoji": { "description": "An emoji that is used as a reaction to a message.", "id": "Emoji", @@ -3264,6 +3340,17 @@ }, "type": "object" }, +"Footer": { +"description": "A footer for a source, used for attribution.", +"id": "Footer", +"properties": { +"text": { +"description": "Optional. The plaintext to display in the footer. Does not support markdown format.", +"type": "string" +} +}, +"type": "object" +}, "FormAction": { "description": "A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script to handle the form.", "id": "FormAction", @@ -3469,7 +3556,7 @@ "id": "GoogleAppsCardV1Card", "properties": { "cardActions": { -"description": "The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` \"card_actions\": [ { \"actionLabel\": \"Settings\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", +"description": "The card's actions. Actions are added to the card's toolbar menu. Supports up to 10 `CardAction` items. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` \"card_actions\": [ { \"actionLabel\": \"Settings\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", "items": { "$ref": "GoogleAppsCardV1CardAction" }, @@ -3602,7 +3689,7 @@ "type": "object" }, "GoogleAppsCardV1Carousel": { -"description": "A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Third text paragraph in carousel\", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", +"description": "Rotates and displays a list of carousel cards in a slideshow format, with buttons navigating to the previous or next card. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in carousel\" } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in carousel\" } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Third text paragraph in carousel\" } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", "id": "GoogleAppsCardV1Carousel", "properties": { "carouselCards": { @@ -3650,12 +3737,12 @@ }, "enabled": { "deprecated": true, -"description": "Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead.", +"description": "Deprecated: Use `disabled` instead. Whether the chip is in an active state and responds to user actions.", "type": "boolean" }, "icon": { "$ref": "GoogleAppsCardV1Icon", -"description": "The icon image. If both `icon` and `text` are set, then the icon appears before the text." +"description": "The icon image. If both `icon` and `label` are set, then the icon appears before the label." }, "label": { "description": "The text displayed inside the chip.", @@ -3868,7 +3955,7 @@ "description": "Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface." }, "timezoneOffsetDate": { -"description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting.", +"description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting. Note: This field is in minutes, whereas user interaction event payloads typically provide time zone offsets in milliseconds (divide by `60000` to convert).", "format": "int32", "type": "integer" }, @@ -3925,7 +4012,7 @@ }, "onClick": { "$ref": "GoogleAppsCardV1OnClick", -"description": "This action is triggered when users click `topLabel` or `bottomLabel`." +"description": "This action is triggered when users click anywhere on the `DecoratedText` widget (including `text`, `top_label`, `bottom_label`, and icons), except when clicking a separate interactive control (`button` or `switch_control`)." }, "startIcon": { "$ref": "GoogleAppsCardV1Icon", @@ -4070,7 +4157,7 @@ }, "onClick": { "$ref": "GoogleAppsCardV1OnClick", -"description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters." +"description": "This callback is reused by each individual grid item, but with the item's identifier added to the callback's parameters (under the key `\"grid_item_identifier\"`)." }, "title": { "description": "The text that displays in the grid header.", @@ -4415,7 +4502,7 @@ "type": "integer" }, "widgets": { -"description": "All the widgets in the section. Must contain at least one widget.", +"description": "All the widgets in the section. Must contain at least one widget. A card supports up to 100 widgets across all sections.", "items": { "$ref": "GoogleAppsCardV1Widget" }, @@ -4567,7 +4654,7 @@ "type": "string" }, "name": { -"description": "The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"description": "The name by which the switch widget is identified in a form input event (as the key in `CommonEventObject.form_inputs`). For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", "type": "string" }, "onChangeAction": { @@ -4575,11 +4662,11 @@ "description": "The action to perform when the switch state is changed, such as what function to run." }, "selected": { -"description": "When `true`, the switch is selected.", +"description": "When `true`, the switch is selected, and its `value` is included in `CommonEventObject.form_inputs[name].string_inputs.value`.", "type": "boolean" }, "value": { -"description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"description": "The value returned in `CommonEventObject.form_inputs[name].string_inputs` when the switch is selected (`selected` is `true`). If `selected` is `true` and `value` is unset, an empty string (`\"\"`) is returned in `string_inputs.value`. When `selected` is `false`, this value is omitted from `string_inputs.value`. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", "type": "string" } }, @@ -4748,11 +4835,11 @@ }, "carousel": { "$ref": "GoogleAppsCardV1Carousel", -"description": "A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in the carousel.\" } }, { \"textParagraph\": { \"text\": \"Second text paragraph in the carousel.\" } } ] } ```" +"description": "Contains a collection of `CarouselCard` items, each of which contains nested widgets. For example, this is a JSON representation of a carousel that contains two carousel cards, each with a text paragraph: ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in the carousel.\" } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in the carousel.\" } } ] } ] } ```" }, "chipList": { "$ref": "GoogleAppsCardV1ChipList", -"description": "A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` \"chipList\": { \"chips\": [ { \"text\": \"Edit\", \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" +"description": "A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` \"chipList\": { \"chips\": [ { \"label\": \"Edit\", \"disabled\": true }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" }, "columns": { "$ref": "GoogleAppsCardV1Columns", @@ -5692,6 +5779,10 @@ "description": "Output only. Information about a deleted message. A message is deleted when `delete_time` is set.", "readOnly": true }, +"elements": { +"$ref": "Elements", +"description": "Optional. Additional message components, including inline `citations` (where each citation is associated with a specific portion of the message text) and `cited_sources` (which are general references used to generate the response and are not directly linked to specific segments of the text). On input, provide `elements` when creating or updating a message. On output, both `citations` and `cited_sources` are populated when reading a message that contains them. Callers can read structured citation metadata from `elements`, while `formatted_text` also includes inline citation tags or source links depending on `markup_syntax`. These differ from `annotations`, which are output-only and offer supplementary information tied to message fragments or the entire message text." +}, "emojiReactionSummaries": { "description": "Output only. The list of emoji reaction summaries on the message.", "items": { @@ -6508,6 +6599,21 @@ }, "type": "object" }, +"Snippet": { +"description": "A snippet object representing an excerpt from a larger corpus.", +"id": "Snippet", +"properties": { +"imagePreview": { +"$ref": "ElementsImage", +"description": "Optional. Image preview of the snippet provided as an input when creating the citation." +}, +"text": { +"description": "Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline `citations` (because `Elements.cited_sources` is not set), snippets are omitted from the deduplicated footer sources. Does not support markdown format, and must not exceed 1,000 characters.", +"type": "string" +} +}, +"type": "object" +}, "Space": { "description": "A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat app.", "id": "Space", diff --git a/googleapiclient/discovery_cache/documents/chromewebstore.v2.json b/googleapiclient/discovery_cache/documents/chromewebstore.v2.json index cb00bc3c72..7c9de804ee 100644 --- a/googleapiclient/discovery_cache/documents/chromewebstore.v2.json +++ b/googleapiclient/discovery_cache/documents/chromewebstore.v2.json @@ -185,6 +185,53 @@ "https://www.googleapis.com/auth/chromewebstore" ] }, +"fetchReviews": { +"description": "Fetch user reviews for an item.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:fetchReviews", +"httpMethod": "GET", +"id": "chromewebstore.publishers.items.fetchReviews", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply to the reviews. Only equality comparison on rating is supported, e.g. `rating = 5`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The item resource name whose reviews are being fetched. Format: publishers/{publisher_id}/items/{item_id}", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. An optional comma-separated list of fields by which to sort the results. The default sort order is ascending (`asc`). Supported fields are: - `rating`: Supported orders are `asc` (default) and `desc`. - `create_time`: Only `desc` (most recent first) is supported; `desc` must be explicitly specified since the default is `asc`. Example: `rating desc`, `create_time desc`, or `rating desc, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of reviews to return. The service may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 200; values above 200 will be coerced to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FetchItemReviews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchItemReviews` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:fetchReviews", +"response": { +"$ref": "FetchItemReviewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore", +"https://www.googleapis.com/auth/chromewebstore.readonly" +] +}, "fetchStatus": { "description": "Fetch the status of an item.", "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:fetchStatus", @@ -211,6 +258,32 @@ "https://www.googleapis.com/auth/chromewebstore.readonly" ] }, +"getRatingSummary": { +"description": "Gets the RatingSummary for the publishers item.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}/ratingSummary", +"httpMethod": "GET", +"id": "chromewebstore.publishers.items.getRatingSummary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rating summary to retrieve. Format: publishers/{publisher}/items/{item}/ratingSummary", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+/ratingSummary$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "RatingSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore", +"https://www.googleapis.com/auth/chromewebstore.readonly" +] +}, "publish": { "description": "Submit the item to be published in the store. The item will be submitted for review unless `skip_review` is set to true, or the item is staged from a previous submission with `publish_type` set to `STAGED_PUBLISH`.", "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:publish", @@ -239,6 +312,119 @@ "https://www.googleapis.com/auth/chromewebstore" ] }, +"queryMetrics": { +"description": "Query the metrics for an item.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:queryMetrics", +"httpMethod": "GET", +"id": "chromewebstore.publishers.items.queryMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"dimensions": { +"description": "Optional. Dimensions to slice the metrics by. At most one dimension can be specified. **Supported dimensions:** - os: The operating system of the user. - app-version: The version of the item. - country: The country of the user. - install-source: The source of the install. - install-type: The type of install (from webstore, inline, or other). - language: The language of the user. - enabled: If the item is enabled or disabled. - utm-campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm-term: The UTM term of the user.", +"location": "query", +"repeated": true, +"type": "string" +}, +"metrics": { +"description": "Required. The metrics to query the metric set for. **Supported metrics:** - installs: Count of item installs. - installs-7d: Count of item installs in the last 7 days. - uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - users-7d: Count of 7-day active users of the item. - impressions: Count of item impressions across the entire store front. - page-views: Count of individual views of the item's detail page.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The name of the item to query the metrics for. Format: publishers/{publisher}/items/{item}", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be returned. The maximum value is 1000; Values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"timeSpec.firstDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"timeSpec.firstDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"timeSpec.firstDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"timeSpec.lastDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"timeSpec.lastDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"timeSpec.lastDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v2/{+name}:queryMetrics", +"response": { +"$ref": "QueryItemMetricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore", +"https://www.googleapis.com/auth/chromewebstore.readonly" +] +}, +"rollback": { +"description": "Rolls back an item's published CRX package to a specified previously published CRX package and publishes it to all users.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:rollback", +"httpMethod": "POST", +"id": "chromewebstore.publishers.items.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rollback", +"request": { +"$ref": "RollbackItemRequest" +}, +"response": { +"$ref": "RollbackItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore" +] +}, "setPublishedDeployPercentage": { "description": "Set a higher target deploy percentage for the item's published revision. This will be updated without the item being submitted for review. This is only available to items with over 10,000 seven-day active users.", "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:setPublishedDeployPercentage", @@ -272,9 +458,20 @@ } } }, -"revision": "20260924", +"revision": "20261030", "rootUrl": "https://chromewebstore.googleapis.com/", "schemas": { +"AuthorInfo": { +"description": "Info on the author of the review.", +"id": "AuthorInfo", +"properties": { +"displayName": { +"description": "Display name for the author.", +"type": "string" +} +}, +"type": "object" +}, "CancelSubmissionRequest": { "description": "Request message for CancelSubmission.", "id": "CancelSubmissionRequest", @@ -287,6 +484,28 @@ "properties": {}, "type": "object" }, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "DeployInfo": { "description": "Deployment information for a specific release channel. Used in requests to update deployment parameters.", "id": "DeployInfo", @@ -315,6 +534,24 @@ }, "type": "object" }, +"FetchItemReviewsResponse": { +"description": "Response message for FetchItemReviews.", +"id": "FetchItemReviewsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"reviews": { +"description": "The list of reviews.", +"items": { +"$ref": "Review" +}, +"type": "array" +} +}, +"type": "object" +}, "FetchItemStatusResponse": { "description": "Response message for `FetchItemStatus`.", "id": "FetchItemStatusResponse", @@ -408,6 +645,52 @@ }, "type": "object" }, +"MetricRow": { +"description": "A single row of metrics and dimension values.", +"id": "MetricRow", +"properties": { +"date": { +"$ref": "Date", +"description": "The date of the record." +}, +"dimensionValues": { +"description": "Dimension value columns for the row.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metricValues": { +"description": "Metric columns for the row.", +"items": { +"$ref": "MetricValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricValue": { +"description": "Represents the value of a single metric", +"id": "MetricValue", +"properties": { +"metric": { +"description": "The name of the metric", +"type": "string" +}, +"uniqueUserCount": { +"description": "The unique user count associated with the metric (if applicable).", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The value of the metric.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, "PublishItemRequest": { "description": "Request message for PublishItem.", "id": "PublishItemRequest", @@ -488,6 +771,139 @@ }, "type": "object" }, +"QueryItemMetricsResponse": { +"description": "Response message for QueryItemMetrics.", +"id": "QueryItemMetricsResponse", +"properties": { +"metricRows": { +"description": "The metric rows.", +"items": { +"$ref": "MetricRow" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"RatingSummary": { +"description": "Singleton resource for the rating summary of an item.", +"id": "RatingSummary", +"properties": { +"fiveStarRatingCount": { +"description": "The number of five star ratings.", +"format": "int64", +"type": "string" +}, +"fourStarRatingCount": { +"description": "The number of four star ratings.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Identifier. Item rating summary resource name Format: publishers/{publisher}/items/{item}/ratingSummary", +"type": "string" +}, +"nonEmptyReviewCount": { +"description": "The number of ratings with a non-empty review text.", +"format": "int64", +"type": "string" +}, +"oneStarRatingCount": { +"description": "The number of one star ratings.", +"format": "int64", +"type": "string" +}, +"rating": { +"description": "The rating of the item as shown on the store page, expressed as a double between 1 and 5.", +"format": "double", +"type": "number" +}, +"ratingCount": { +"description": "The total number of ratings for the item.", +"format": "int64", +"type": "string" +}, +"threeStarRatingCount": { +"description": "The number of three star ratings.", +"format": "int64", +"type": "string" +}, +"twoStarRatingCount": { +"description": "The number of two star ratings.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Review": { +"description": "A review written by a user to rate an item in the Chrome Web Store.", +"id": "Review", +"properties": { +"authorInfo": { +"$ref": "AuthorInfo", +"description": "Info on the author of the review." +}, +"comment": { +"description": "Content of the review.", +"type": "string" +}, +"createTime": { +"description": "Output only. When the review was posted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"item": { +"description": "Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item}", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Review resource name. Format: reviews/{reviewId}", +"type": "string" +}, +"rating": { +"description": "Rating of the item, between 1 and 5.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RollbackItemRequest": { +"description": "Request message for RollbackItem.", +"id": "RollbackItemRequest", +"properties": { +"newVersion": { +"description": "Required. The new version to assign to the package being rolled back to. This effectively \"rolls forward\" the previous package by giving it a higher version number than the currently-published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 or 1.2 but not 1.0.", +"type": "string" +}, +"rollbackReason": { +"description": "Required. The reason for the rollback that will be used for internal auditing and developer dashboard visibility.", +"type": "string" +}, +"targetCrxVersion": { +"description": "Required. The target previously published CRX version to roll back to. If unset, defaults to the last published CRX version.", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate and dry run the request but do not actually initiate the rollback", +"type": "boolean" +} +}, +"type": "object" +}, +"RollbackItemResponse": { +"description": "Response message for `RollbackItem`.", +"id": "RollbackItemResponse", +"properties": {}, +"type": "object" +}, "SetPublishedDeployPercentageRequest": { "description": "Request message for SetPublishedDeployPercentage.", "id": "SetPublishedDeployPercentageRequest", diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json index 5ee4f2ae4f..252ccbf5b8 100644 --- a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json @@ -463,7 +463,7 @@ "builds": { "methods": { "approve": { -"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", +"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the \"global\" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.", "flatPath": "v1/projects/{projectsId}/builds/{buildsId}:approve", "httpMethod": "POST", "id": "cloudbuild.projects.builds.approve", @@ -1146,7 +1146,7 @@ "builds": { "methods": { "approve": { -"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", +"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done. Note: This method only approves or rejects builds in the \"global\" region when using the legacy resource path projects/{project_id}/builds/{id}:approve. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:approve`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:approve", "httpMethod": "POST", "id": "cloudbuild.projects.locations.builds.approve", @@ -1587,7 +1587,7 @@ "triggers": { "methods": { "create": { -"description": "Creates a new `BuildTrigger`.", +"description": "Creates a new `BuildTrigger`. Note: This method only creates triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", "httpMethod": "POST", "id": "cloudbuild.projects.locations.triggers.create", @@ -1620,7 +1620,7 @@ ] }, "delete": { -"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.", +"description": "Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", "httpMethod": "DELETE", "id": "cloudbuild.projects.locations.triggers.delete", @@ -1655,7 +1655,7 @@ ] }, "get": { -"description": "Returns information about a `BuildTrigger`.", +"description": "Returns information about a `BuildTrigger`. Note: This method only gets triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", "httpMethod": "GET", "id": "cloudbuild.projects.locations.triggers.get", @@ -1690,7 +1690,7 @@ ] }, "list": { -"description": "Lists existing `BuildTrigger`s.", +"description": "Lists existing `BuildTrigger`s. Note: This method only lists triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", "httpMethod": "GET", "id": "cloudbuild.projects.locations.triggers.list", @@ -1731,7 +1731,7 @@ ] }, "patch": { -"description": "Updates a `BuildTrigger` by its project ID and trigger ID.", +"description": "Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", "httpMethod": "PATCH", "id": "cloudbuild.projects.locations.triggers.patch", @@ -2031,7 +2031,7 @@ "triggers": { "methods": { "create": { -"description": "Creates a new `BuildTrigger`.", +"description": "Creates a new `BuildTrigger`. Note: This method only creates triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.", "flatPath": "v1/projects/{projectId}/triggers", "httpMethod": "POST", "id": "cloudbuild.projects.triggers.create", @@ -2063,7 +2063,7 @@ ] }, "delete": { -"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.", +"description": "Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method only deletes triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", "httpMethod": "DELETE", "id": "cloudbuild.projects.triggers.delete", @@ -2099,7 +2099,7 @@ ] }, "get": { -"description": "Returns information about a `BuildTrigger`.", +"description": "Returns information about a `BuildTrigger`. Note: This method only gets triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", "httpMethod": "GET", "id": "cloudbuild.projects.triggers.get", @@ -2135,7 +2135,7 @@ ] }, "list": { -"description": "Lists existing `BuildTrigger`s.", +"description": "Lists existing `BuildTrigger`s. Note: This method only lists triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers`.", "flatPath": "v1/projects/{projectId}/triggers", "httpMethod": "GET", "id": "cloudbuild.projects.triggers.list", @@ -2175,7 +2175,7 @@ ] }, "patch": { -"description": "Updates a `BuildTrigger` by its project ID and trigger ID.", +"description": "Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method only updates triggers in the \"global\" region when using the legacy resource path projects/{project_id}/triggers/{trigger_id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/triggers/{trigger_id}`.", "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", "httpMethod": "PATCH", "id": "cloudbuild.projects.triggers.patch", @@ -2324,7 +2324,7 @@ } } }, -"revision": "20261010", +"revision": "20261025", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -3085,6 +3085,25 @@ false "description": "Optional. Option to specify the Pub/Sub topic to receive build status updates.", "type": "string" }, +"rankedMachineSeries": { +"description": "Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region. This field must be empty for the Build to be eligible to be paired with a pre-provisioned worker VM.", +"items": { +"enum": [ +"MACHINE_SERIES_UNSPECIFIED", +"MACHINE_SERIES_E", +"MACHINE_SERIES_N", +"MACHINE_SERIES_C" +], +"enumDescriptions": [ +"Should not be used.", +"Cost-optimized machines such as E2.", +"General-purpose machines such as N4.", +"Performance-optimized machines such as C4." +], +"type": "string" +}, +"type": "array" +}, "requestedVerifyOption": { "description": "Requested verifiability options.", "enum": [ @@ -5537,6 +5556,25 @@ false "description": "Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default.", "type": "string" }, +"rankedMachineSeries": { +"description": "Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning Worker VMs. A concrete machine type will be selected based on machine availability in the given region.", +"items": { +"enum": [ +"MACHINE_SERIES_UNSPECIFIED", +"MACHINE_SERIES_E", +"MACHINE_SERIES_N", +"MACHINE_SERIES_C" +], +"enumDescriptions": [ +"Should not be used.", +"Cost-optimized machines such as E2.", +"General-purpose machines such as N4.", +"Performance-optimized machines such as C4." +], +"type": "string" +}, +"type": "array" +}, "workerRelease": { "description": "Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json b/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json index ad37a23353..3b80ac5b58 100644 --- a/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json @@ -663,7 +663,7 @@ } } }, -"revision": "20261004", +"revision": "20261020", "rootUrl": "https://cloudscheduler.googleapis.com/", "schemas": { "AppEngineHttpTarget": { @@ -1124,7 +1124,7 @@ "type": "object" }, "PubsubMessage": { -"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.", +"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits.", "id": "PubsubMessage", "properties": { "attributes": { diff --git a/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json index 6117b42700..f97ffc37b0 100644 --- a/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json @@ -619,7 +619,7 @@ } } }, -"revision": "20261004", +"revision": "20261020", "rootUrl": "https://cloudscheduler.googleapis.com/", "schemas": { "AppEngineHttpTarget": { @@ -1069,7 +1069,7 @@ "type": "object" }, "PubsubMessage": { -"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.", +"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits.", "id": "PubsubMessage", "properties": { "attributes": { diff --git a/googleapiclient/discovery_cache/documents/composer.v1.json b/googleapiclient/discovery_cache/documents/composer.v1.json index 69ee1f9ccb..f04b956475 100644 --- a/googleapiclient/discovery_cache/documents/composer.v1.json +++ b/googleapiclient/discovery_cache/documents/composer.v1.json @@ -1503,7 +1503,7 @@ } } }, -"revision": "20261011", +"revision": "20261015", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AirflowMetadataRetentionPolicyConfig": { @@ -2156,6 +2156,10 @@ "description": "Whether it is impossible to create an environment with the image version.", "type": "boolean" }, +"devModeSupported": { +"description": "Whether it is possible to create an environment in the `DEVELOPMENT` mode with the image version.", +"type": "boolean" +}, "imageVersionId": { "description": "The string identifier of the ImageVersion, in the form: \"composer-x.y.z-airflow-a.b.c\"", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/composer.v1beta1.json b/googleapiclient/discovery_cache/documents/composer.v1beta1.json index 950be5fa5d..5cae45cfbc 100644 --- a/googleapiclient/discovery_cache/documents/composer.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/composer.v1beta1.json @@ -1561,7 +1561,7 @@ } } }, -"revision": "20261011", +"revision": "20261015", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AirflowMetadataRetentionPolicyConfig": { @@ -2232,6 +2232,10 @@ "description": "Whether it is impossible to create an environment with the image version.", "type": "boolean" }, +"devModeSupported": { +"description": "Whether it is possible to create an environment in the `DEVELOPMENT` mode with the image version.", +"type": "boolean" +}, "imageVersionId": { "description": "The string identifier of the ImageVersion, in the form: \"composer-x.y.z-airflow-a.b.c\"", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/compute.alpha.json b/googleapiclient/discovery_cache/documents/compute.alpha.json index cd7dadd072..c966742374 100644 --- a/googleapiclient/discovery_cache/documents/compute.alpha.json +++ b/googleapiclient/discovery_cache/documents/compute.alpha.json @@ -58444,7 +58444,7 @@ } } }, -"revision": "20261016", +"revision": "20261026", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -67339,7 +67339,7 @@ false "description": "Defines a set of Confidential Paravisor (SVSM) options." }, "enableConfidentialCompute": { -"description": "Defines whether the instance should have confidential compute enabled.", +"description": "Defines whether the instance should have confidential compute enabled.\nWhen enabled, the technology used defaults to \nAMD SEV unless confidentialInstanceType is specified.", "type": "boolean" } }, @@ -67350,28 +67350,30 @@ false "id": "ConfidentialParavisorConfig", "properties": { "confidentialTpmType": { +"description": "Defines the type of TPM to use for the confidential instance.", "enum": [ "CONFIDENTIAL_TPM_TYPE_UNSPECIFIED", "EPHEMERAL", "NO_CC_TPM" ], "enumDescriptions": [ -"", -"", -"" +"No TPM type specified. Do not use this value.", +"An ephemeral vTPM running in the paravisor (SVSM).", +"No confidential computing vTPM is used in the paravisor (SVSM)." ], "type": "string" }, "sevSnpIrqMode": { +"description": "Defines the IRQ mode to use for the confidential instance.", "enum": [ "RESTRICTED", "SEV_SNP_IRQ_MODE_UNSPECIFIED", "UNRESTRICTED" ], "enumDescriptions": [ -"", -"", -"" +"Restricted interrupt injection.", +"No IRQ mode specified. Do not use this value.", +"Unrestricted interrupt injection." ], "type": "string" } @@ -93915,14 +93917,14 @@ false "id": "MachineImageParams", "properties": { "excludedDisks": { -"description": "Input only. [Input Only] Specifies the list of disk device names that must be\nexcluded from the new machine image.", +"description": "Input only. Specifies the list of disk device names that must be excluded from the\nnew machine image.", "items": { "type": "string" }, "type": "array" }, "includedDisks": { -"description": "Input only. [Input Only] Specifies the list of disk device names that must be\nincluded with the new machine image.", +"description": "Input only. Specifies the list of disk device names that must be included with the\nnew machine image.", "items": { "type": "string" }, @@ -109212,14 +109214,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates that the original snapshot is an archive snapshot.", +"Indicates that the original snapshot is a standard snapshot." ], "type": "string" }, @@ -122696,14 +122698,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD. The default is STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates an archive snapshot, which is recommended for long-term\nretention and compliance.", +"Indicates a standard snapshot, which is recommended for frequent\nrestores." ], "type": "string" }, @@ -129017,7 +129019,7 @@ false "type": "string" }, "sslCertificates": { -"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", +"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/compute.beta.json b/googleapiclient/discovery_cache/documents/compute.beta.json index ea17d73e86..12e5483c3d 100644 --- a/googleapiclient/discovery_cache/documents/compute.beta.json +++ b/googleapiclient/discovery_cache/documents/compute.beta.json @@ -54397,7 +54397,7 @@ } } }, -"revision": "20261016", +"revision": "20261026", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -62514,7 +62514,7 @@ false "type": "string" }, "enableConfidentialCompute": { -"description": "Defines whether the instance should have confidential compute enabled.", +"description": "Defines whether the instance should have confidential compute enabled.\nWhen enabled, the technology used defaults to \nAMD SEV unless confidentialInstanceType is specified.", "type": "boolean" } }, @@ -86052,14 +86052,14 @@ false "id": "MachineImageParams", "properties": { "excludedDisks": { -"description": "Input only. [Input Only] Specifies the list of disk device names that must be\nexcluded from the new machine image.", +"description": "Input only. Specifies the list of disk device names that must be excluded from the\nnew machine image.", "items": { "type": "string" }, "type": "array" }, "includedDisks": { -"description": "Input only. [Input Only] Specifies the list of disk device names that must be\nincluded with the new machine image.", +"description": "Input only. Specifies the list of disk device names that must be included with the\nnew machine image.", "items": { "type": "string" }, @@ -99714,14 +99714,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates that the original snapshot is an archive snapshot.", +"Indicates that the original snapshot is a standard snapshot." ], "type": "string" }, @@ -112140,14 +112140,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD. The default is STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates an archive snapshot, which is recommended for long-term\nretention and compliance.", +"Indicates a standard snapshot, which is recommended for frequent\nrestores." ], "type": "string" }, @@ -118310,7 +118310,7 @@ false "type": "string" }, "sslCertificates": { -"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", +"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/compute.preview.json b/googleapiclient/discovery_cache/documents/compute.preview.json index 10c153adb8..688f77a6c0 100644 --- a/googleapiclient/discovery_cache/documents/compute.preview.json +++ b/googleapiclient/discovery_cache/documents/compute.preview.json @@ -6231,6 +6231,484 @@ } } }, +"folderRolloutPlans": { +"methods": { +"delete": { +"apiVersion": "2026-10-01-preview", +"description": "Deletes a FolderRolloutPlan.", +"flatPath": "folders/{foldersId}/global/rolloutPlans/{rolloutPlan}", +"httpMethod": "DELETE", +"id": "compute.folderRolloutPlans.delete", +"parameterOrder": [ +"folder", +"rolloutPlan" +], +"parameters": { +"folder": { +"description": "Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rolloutPlan": { +"description": "Name of the FolderRolloutPlan resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rolloutPlans/{rolloutPlan}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"apiVersion": "2026-10-01-preview", +"description": "Gets details of a single folder-scoped RolloutPlan.", +"flatPath": "folders/{foldersId}/global/rolloutPlans/{rolloutPlan}", +"httpMethod": "GET", +"id": "compute.folderRolloutPlans.get", +"parameterOrder": [ +"folder", +"rolloutPlan" +], +"parameters": { +"folder": { +"description": "Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{0,20}", +"required": true, +"type": "string" +}, +"rolloutPlan": { +"description": "Name of the persistent rollout plan to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rolloutPlans/{rolloutPlan}", +"response": { +"$ref": "RolloutPlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"apiVersion": "2026-10-01-preview", +"description": "Creates a new RolloutPlan in a given folder and location.", +"flatPath": "folders/{foldersId}/global/rolloutPlans", +"httpMethod": "POST", +"id": "compute.folderRolloutPlans.insert", +"parameterOrder": [ +"folder" +], +"parameters": { +"folder": { +"description": "Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "{+folder}/global/rolloutPlans", +"request": { +"$ref": "RolloutPlan" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"apiVersion": "2026-10-01-preview", +"description": "Lists FolderRolloutPlans in a given folder and location.", +"flatPath": "folders/{foldersId}/global/rolloutPlans", +"httpMethod": "GET", +"id": "compute.folderRolloutPlans.list", +"parameterOrder": [ +"folder" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"folder": { +"description": "Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{0,20}", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "{+folder}/global/rolloutPlans", +"response": { +"$ref": "RolloutPlansListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"folderRollouts": { +"methods": { +"advance": { +"apiVersion": "2026-10-01-preview", +"description": "Advances a Rollout to the next wave, or completes it if no waves remain.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}/advance", +"httpMethod": "POST", +"id": "compute.folderRollouts.advance", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"currentWaveNumber": { +"description": "Required. Wave number of the current wave.", +"format": "int64", +"location": "query", +"type": "string" +}, +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollout": { +"description": "Required. Name of the Rollout resource to advance.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}/advance", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"cancel": { +"apiVersion": "2026-10-01-preview", +"description": "Cancels a Rollout.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}", +"httpMethod": "PATCH", +"id": "compute.folderRollouts.cancel", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollback": { +"description": "Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel\nthe rollout without taking any further actions. Note that products must\nsupport at least one of these options, however, it does not need to support\nboth.", +"location": "query", +"type": "boolean" +}, +"rollout": { +"description": "Name of the Rollout resource to cancel.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"apiVersion": "2026-10-01-preview", +"description": "Deletes a Rollout.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}", +"httpMethod": "DELETE", +"id": "compute.folderRollouts.delete", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollout": { +"description": "Name of the Rollout resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"apiVersion": "2026-10-01-preview", +"description": "Gets details of a single folder-scoped Rollout.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}", +"httpMethod": "GET", +"id": "compute.folderRollouts.get", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"folder": { +"description": "Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{0,20}", +"required": true, +"type": "string" +}, +"rollout": { +"description": "Name of the persistent rollout to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"apiVersion": "2026-10-01-preview", +"description": "Lists Rollouts in a given folder and location.", +"flatPath": "folders/{foldersId}/global/rollouts", +"httpMethod": "GET", +"id": "compute.folderRollouts.list", +"parameterOrder": [ +"folder" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "{+folder}/global/rollouts", +"response": { +"$ref": "FolderRolloutsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"pause": { +"apiVersion": "2026-10-01-preview", +"description": "Pauses a Rollout.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}/pause", +"httpMethod": "POST", +"id": "compute.folderRollouts.pause", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"etag": { +"description": "The etag of the Rollout.\nIf this is provided, the request will only succeed if the etag matches\nthe current etag of the Rollout.", +"location": "query", +"type": "string" +}, +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollout": { +"description": "Required. Name of the Rollout resource to pause.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}/pause", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resume": { +"apiVersion": "2026-10-01-preview", +"description": "Resumes a Rollout.", +"flatPath": "folders/{foldersId}/global/rollouts/{rollout}/resume", +"httpMethod": "POST", +"id": "compute.folderRollouts.resume", +"parameterOrder": [ +"folder", +"rollout" +], +"parameters": { +"etag": { +"description": "The etag of the Rollout.\nIf this is provided, the request will only succeed if the etag matches\nthe current etag of the Rollout.", +"location": "query", +"type": "string" +}, +"folder": { +"description": "Required. Folder ID for this request.", +"location": "path", +"pattern": "folders/[0-9]{1,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollout": { +"description": "Required. Name of the Rollout resource to resume.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "{+folder}/global/rollouts/{rollout}/resume", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, "folderZoneVmExtensionPolicies": { "methods": { "delete": { @@ -22178,7 +22656,53 @@ "type": "string" } }, -"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"apiVersion": "2026-10-01-preview", +"description": "Deletes a rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.removeRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", "response": { "$ref": "Operation" }, @@ -22187,30 +22711,17 @@ "https://www.googleapis.com/auth/compute" ] }, -"removeRule": { +"setIamPolicy": { "apiVersion": "2026-10-01-preview", -"description": "Deletes a rule of the specified priority.", -"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", "httpMethod": "POST", -"id": "compute.networkFirewallPolicies.removeRule", +"id": "compute.networkFirewallPolicies.setIamPolicy", "parameterOrder": [ "project", -"firewallPolicy" +"resource" ], "parameters": { -"firewallPolicy": { -"description": "Name of the firewall policy to update.", -"location": "path", -"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", -"required": true, -"type": "string" -}, -"priority": { -"description": "The priority of the rule to remove from the firewall policy.", -"format": "int32", -"location": "query", -"type": "integer" -}, "project": { "description": "Project ID for this request.", "location": "path", @@ -22218,27 +22729,32 @@ "required": true, "type": "string" }, -"requestId": { -"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", -"location": "query", +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, "type": "string" } }, -"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", +"path": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, "response": { -"$ref": "Operation" +"$ref": "Policy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] }, -"setIamPolicy": { +"testIamPermissions": { "apiVersion": "2026-10-01-preview", -"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", -"flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", -"id": "compute.networkFirewallPolicies.setIamPolicy", +"id": "compute.networkFirewallPolicies.testIamPermissions", "parameterOrder": [ "project", "resource" @@ -22259,29 +22775,42 @@ "type": "string" } }, -"path": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", +"path": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", "request": { -"$ref": "GlobalSetPolicyRequest" +"$ref": "TestPermissionsRequest" }, "response": { -"$ref": "Policy" +"$ref": "TestPermissionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/compute" +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" ] +} +} }, -"testIamPermissions": { +"networkLocationBindings": { +"methods": { +"get": { "apiVersion": "2026-10-01-preview", -"description": "Returns permissions that a caller has on the specified resource.", -"flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", -"httpMethod": "POST", -"id": "compute.networkFirewallPolicies.testIamPermissions", +"description": "Returns the specified NetworkLocationBinding resource in the given scope.", +"flatPath": "projects/{project}/regions/{region}/networkLocationBindings/{networkLocationBinding}", +"httpMethod": "GET", +"id": "compute.networkLocationBindings.get", "parameterOrder": [ "project", -"resource" +"region", +"networkLocationBinding" ], "parameters": { +"networkLocationBinding": { +"description": "Name of the NetworkLocationBinding resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, "project": { "description": "Project ID for this request.", "location": "path", @@ -22289,20 +22818,76 @@ "required": true, "type": "string" }, -"resource": { -"description": "Name or id of the resource for this request.", +"region": { +"description": "Name of the region of this request.", "location": "path", -"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, "type": "string" } }, -"path": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", -"request": { -"$ref": "TestPermissionsRequest" +"path": "projects/{project}/regions/{region}/networkLocationBindings/{networkLocationBinding}", +"response": { +"$ref": "NetworkLocationBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"apiVersion": "2026-10-01-preview", +"description": "Lists the NetworkLocationBindings for a project in the given scope.", +"flatPath": "projects/{project}/regions/{region}/networkLocationBindings", +"httpMethod": "GET", +"id": "compute.networkLocationBindings.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" }, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkLocationBindings", "response": { -"$ref": "TestPermissionsResponse" +"$ref": "NetworkLocationBindingList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -37544,6 +38129,12 @@ "region" ], "parameters": { +"name": { +"description": "Required. Name of the SslCertificate resource to be created. The name must be 1-63\ncharacters long, and comply withRFC1035.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, "project": { "description": "Project ID for this request.", "location": "path", @@ -45011,6 +45602,12 @@ "project" ], "parameters": { +"name": { +"description": "Required. Name of the SslCertificate resource to be created. The name must be 1-63\ncharacters long, and comply withRFC1035.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, "project": { "description": "Project ID for this request.", "location": "path", @@ -52184,7 +52781,7 @@ } } }, -"revision": "20261016", +"revision": "20261026", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -57360,7 +57957,7 @@ false "enumDescriptions": [ "", "", -"" +"The Backend Service is managed by a High Availability Controller.\nFailover and leader election are exclusively managed by the HA\nController service." ], "type": "string" }, @@ -60755,13 +61352,52 @@ false ], "type": "string" }, +"confidentialParavisorConfig": { +"$ref": "ConfidentialParavisorConfig", +"description": "Defines a set of Confidential Paravisor (SVSM) options." +}, "enableConfidentialCompute": { -"description": "Defines whether the instance should have confidential compute enabled.", +"description": "Defines whether the instance should have confidential compute enabled.\nWhen enabled, the technology used defaults to \nAMD SEV unless confidentialInstanceType is specified.", "type": "boolean" } }, "type": "object" }, +"ConfidentialParavisorConfig": { +"description": "A set of Confidential Paravisor (SVSM) options.", +"id": "ConfidentialParavisorConfig", +"properties": { +"confidentialTpmType": { +"description": "Defines the type of TPM to use for the confidential instance.", +"enum": [ +"CONFIDENTIAL_TPM_TYPE_UNSPECIFIED", +"EPHEMERAL", +"NO_CC_TPM" +], +"enumDescriptions": [ +"No TPM type specified. Do not use this value.", +"An ephemeral vTPM running in the paravisor (SVSM).", +"No confidential computing vTPM is used in the paravisor (SVSM)." +], +"type": "string" +}, +"sevSnpIrqMode": { +"description": "Defines the IRQ mode to use for the confidential instance.", +"enum": [ +"RESTRICTED", +"SEV_SNP_IRQ_MODE_UNSPECIFIED", +"UNRESTRICTED" +], +"enumDescriptions": [ +"Restricted interrupt injection.", +"No IRQ mode specified. Do not use this value.", +"Unrestricted interrupt injection." +], +"type": "string" +} +}, +"type": "object" +}, "ConnectionDraining": { "description": "Message containing connection draining configuration.", "id": "ConnectionDraining", @@ -64529,6 +65165,167 @@ false }, "type": "object" }, +"FolderRolloutsListResponse": { +"id": "FolderRolloutsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Rollout resources.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }]", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, "FolderVmExtensionPolicyAggregatedListResponse": { "id": "FolderVmExtensionPolicyAggregatedListResponse", "properties": { @@ -73835,6 +74632,37 @@ false }, "type": "array" }, +"metadataOverrides": { +"description": "Metadata key/value pairs assigned to instances created from this\nselection. Key/value pairs specified here override keys specified in the\ninstance properties on a key-by-key basis.", +"items": { +"description": "Metadata", +"properties": { +"key": { +"annotations": { +"required": [ +"compute.instances.insert", +"compute.projects.setCommonInstanceMetadata" +] +}, +"description": "Key for the metadata entry. Keys must conform to the following\nregexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.\nThis is reflected as part of a URL in the metadata server. Additionally, to\navoid ambiguity, keys must not conflict with any other metadata keys\nfor the project.", +"pattern": "[a-zA-Z0-9-_]{1,128}", +"type": "string" +}, +"value": { +"annotations": { +"required": [ +"compute.instances.insert", +"compute.projects.setCommonInstanceMetadata" +] +}, +"description": "Value for the metadata entry. These are free-form strings, and only\nhave meaning as interpreted by the image running in the instance. The\nonly restriction placed on values is that their size must be less than\nor equal to 262144 bytes (256 KiB).", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, "minCpuPlatform": { "description": "Name of the minimum CPU platform to be used by this instance selection.\ne.g. 'Intel Ice Lake'.", "type": "string" @@ -85788,6 +86616,14 @@ false ], "type": "string" }, +"networkLocationBindings": { +"description": "Output only. [Output Only] List of server-defined fully-qualified URLs of regional\nnetwork location bindings in this VPC network.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, "networkProfile": { "description": "A full or partial URL of the network profile to apply to this network.\nThis field can be set only at resource creation time. For example, the\nfollowing are valid URLs: \n \n - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name}\n - projects/{project_id}/global/networkProfiles/{network_profile_name}", "type": "string" @@ -88236,6 +89072,291 @@ false }, "type": "object" }, +"NetworkLocationBinding": { +"description": "A regional, read-only resource that reflects the physical location(s) (i.e.\nclusters) to which a special-purpose VPC network is bound, across the zones\nof a region. Its lifecycle is managed by the service: it is created when a\nnetwork using a network profile that requires location binding is created,\nand deleted when that network is deleted.", +"id": "NetworkLocationBinding", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. [Output Only] An optional textual description of the resource.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#networkLocationBinding", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBinding for network location bindings.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] Name of the resource. The name is generated by the server\nwhen the associated network is created.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Output only. [Output Only] The network this network location binding belongs to.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the network location binding\nresides. You must specify this field as part of the HTTP request URL. It\nis not settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] State of the binding.", +"enum": [ +"BINDING_STATE_BOUND", +"BINDING_STATE_UNBOUND" +], +"enumDescriptions": [ +"The VPC is bound to the cluster(s) listed in status.zonal_bindings.", +"The VPC is not yet bound to any specific cluster(s). This is the state\nbefore the first instance is created." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "NetworkLocationBindingStatus", +"description": "Output only. [Output Only] Status and derived information about the network location\nbinding.", +"readOnly": true +} +}, +"type": "object" +}, +"NetworkLocationBindingList": { +"description": "Response message for NetworkLocationBindings.List.", +"id": "NetworkLocationBindingList", +"properties": { +"etag": { +"description": "Server-defined ETag for optimistic concurrency control.", +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkLocationBinding resources.", +"items": { +"$ref": "NetworkLocationBinding" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkLocationBindingList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkLocationBindingList for a list of network\nlocation bindings.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }]", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkLocationBindingStatus": { +"description": "Status and derived information about the network location binding.", +"id": "NetworkLocationBindingStatus", +"properties": { +"bindingType": { +"description": "Output only. [Output Only] Indicates whether a single cluster, specific clusters, or\nall clusters are allowed for instance creation.", +"enum": [ +"BINDING_TYPE_ALL_CLUSTERS", +"BINDING_TYPE_MULTI_CLUSTERS", +"BINDING_TYPE_SINGLE_CLUSTER" +], +"enumDescriptions": [ +"Instances may be created in any cluster.", +"Instances may be created in the specific clusters listed in\nstatus.zonal_bindings.", +"Instances may only be created in a single cluster." +], +"readOnly": true, +"type": "string" +}, +"zonalBindings": { +"additionalProperties": { +"$ref": "NetworkLocationBindingZonalBinding" +}, +"description": "Output only. [Output Only] The mapping of zones to their binding information, keyed\nby the zone, e.g. zones/us-central1-a.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"NetworkLocationBindingZonalBinding": { +"description": "Binding information for a single zone.", +"id": "NetworkLocationBindingZonalBinding", +"properties": { +"prodClusters": { +"description": "Output only. [Output Only] Prod cluster names in the zone that this network could\nschedule instances in.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, "NetworkParams": { "description": "Additional network parameters.", "id": "NetworkParams", @@ -107988,14 +109109,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD. The default is STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates an archive snapshot, which is recommended for long-term\nretention and compliance.", +"Indicates a standard snapshot, which is recommended for frequent\nrestores." ], "type": "string" }, @@ -113520,7 +114641,7 @@ false "type": "string" }, "sslCertificates": { -"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", +"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/compute.v1.json b/googleapiclient/discovery_cache/documents/compute.v1.json index b6c2615e7a..909999e96a 100644 --- a/googleapiclient/discovery_cache/documents/compute.v1.json +++ b/googleapiclient/discovery_cache/documents/compute.v1.json @@ -343,7 +343,7 @@ "acceleratorTypes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/acceleratorTypes", "httpMethod": "GET", @@ -405,7 +405,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified accelerator type.", "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", "httpMethod": "GET", @@ -449,7 +449,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of accelerator types that are available to the specified\nproject.", "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes", "httpMethod": "GET", @@ -512,7 +512,7 @@ "addresses": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/addresses", "httpMethod": "GET", @@ -574,7 +574,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified address resource.", "flatPath": "projects/{project}/regions/{region}/addresses/{address}", "httpMethod": "DELETE", @@ -622,7 +622,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified address resource.", "flatPath": "projects/{project}/regions/{region}/addresses/{address}", "httpMethod": "GET", @@ -666,7 +666,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an address resource in the specified project by using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/addresses", "httpMethod": "POST", @@ -709,7 +709,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of addresses contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/addresses", "httpMethod": "GET", @@ -768,7 +768,7 @@ ] }, "move": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Moves the specified address resource.", "flatPath": "projects/{project}/regions/{region}/addresses/{address}/move", "httpMethod": "POST", @@ -819,7 +819,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", "httpMethod": "POST", @@ -870,7 +870,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions", "httpMethod": "POST", @@ -921,7 +921,7 @@ "advice": { "methods": { "calendarMode": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", "flatPath": "projects/{project}/regions/{region}/advice/calendarMode", "httpMethod": "POST", @@ -959,7 +959,7 @@ ] }, "capacity": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Advice on making real-time decisions (such as choosing zone or\nmachine types) during deployment to maximize your chances of obtaining\ncapacity.", "flatPath": "projects/{project}/regions/{region}/advice/capacity", "httpMethod": "POST", @@ -997,7 +997,7 @@ ] }, "capacityHistory": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the capacity history.", "flatPath": "projects/{project}/regions/{region}/advice/capacityHistory", "httpMethod": "POST", @@ -1039,7 +1039,7 @@ "autoscalers": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/autoscalers", "httpMethod": "GET", @@ -1101,7 +1101,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified autoscaler.", "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", "httpMethod": "DELETE", @@ -1149,7 +1149,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified autoscaler resource.", "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", "httpMethod": "GET", @@ -1193,7 +1193,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an autoscaler in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/zones/{zone}/autoscalers", "httpMethod": "POST", @@ -1236,7 +1236,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of autoscalers contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/autoscalers", "httpMethod": "GET", @@ -1295,7 +1295,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/zones/{zone}/autoscalers", "httpMethod": "PATCH", @@ -1344,7 +1344,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions", "httpMethod": "POST", @@ -1391,7 +1391,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an autoscaler in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/zones/{zone}/autoscalers", "httpMethod": "PUT", @@ -1444,7 +1444,7 @@ "backendBuckets": { "methods": { "addSignedUrlKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds a key for validating requests with signed URLs for this backend\nbucket.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", "httpMethod": "POST", @@ -1486,7 +1486,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all BackendBucket resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/backendBuckets", "httpMethod": "GET", @@ -1548,7 +1548,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified BackendBucket resource.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", "httpMethod": "DELETE", @@ -1588,7 +1588,7 @@ ] }, "deleteSignedUrlKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a key for validating requests with signed URLs for this backend\nbucket.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", "httpMethod": "POST", @@ -1634,7 +1634,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified BackendBucket resource.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", "httpMethod": "GET", @@ -1670,7 +1670,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/backendBuckets/{resource}/getIamPolicy", "httpMethod": "GET", @@ -1712,7 +1712,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a BackendBucket resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/backendBuckets", "httpMethod": "POST", @@ -1747,7 +1747,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of BackendBucket resources available to the specified\nproject.", "flatPath": "projects/{project}/global/backendBuckets", "httpMethod": "GET", @@ -1798,7 +1798,7 @@ ] }, "listUsable": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of all usable backend buckets in the specified project.", "flatPath": "projects/{project}/global/backendBuckets/listUsable", "httpMethod": "GET", @@ -1849,7 +1849,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", "httpMethod": "PATCH", @@ -1892,7 +1892,7 @@ ] }, "setEdgeSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the edge security policy for the specified backend bucket.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", "httpMethod": "POST", @@ -1934,7 +1934,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/backendBuckets/{resource}/setIamPolicy", "httpMethod": "POST", @@ -1972,7 +1972,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/backendBuckets/{resource}/testIamPermissions", "httpMethod": "POST", @@ -2011,7 +2011,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified BackendBucket resource with the data included in the\nrequest.", "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", "httpMethod": "PUT", @@ -2058,7 +2058,7 @@ "backendServices": { "methods": { "addSignedUrlKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds a key for validating requests with signed URLs for this backend\nservice.", "flatPath": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", "httpMethod": "POST", @@ -2100,7 +2100,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/backendServices", "httpMethod": "GET", @@ -2162,7 +2162,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified BackendService resource.", "flatPath": "projects/{project}/global/backendServices/{backendService}", "httpMethod": "DELETE", @@ -2202,7 +2202,7 @@ ] }, "deleteSignedUrlKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a key for validating requests with signed URLs for this backend\nservice.", "flatPath": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", "httpMethod": "POST", @@ -2248,7 +2248,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified BackendService resource.", "flatPath": "projects/{project}/global/backendServices/{backendService}", "httpMethod": "GET", @@ -2284,7 +2284,7 @@ ] }, "getEffectiveSecurityPolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns effective security policies applied to this backend service.", "flatPath": "projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies", "httpMethod": "GET", @@ -2317,7 +2317,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the most recent health check results for this\nBackendService.\n\nExample request body:\n\n{\n \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", "flatPath": "projects/{project}/global/backendServices/{backendService}/getHealth", "httpMethod": "POST", @@ -2355,7 +2355,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/backendServices/{resource}/getIamPolicy", "httpMethod": "GET", @@ -2397,7 +2397,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", "flatPath": "projects/{project}/global/backendServices", "httpMethod": "POST", @@ -2432,7 +2432,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of BackendService resources available to the specified\nproject.", "flatPath": "projects/{project}/global/backendServices", "httpMethod": "GET", @@ -2483,7 +2483,7 @@ ] }, "listUsable": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of all usable backend services for Application Load\nBalancers and Proxy Network Load Balancers in the specified project.\nBackend services for external and internal passthrough Network Load\nBalancers are not included in the response.", "flatPath": "projects/{project}/global/backendServices/listUsable", "httpMethod": "GET", @@ -2534,7 +2534,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified BackendService resource with the data included in the\nrequest. For more information, see \nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/backendServices/{backendService}", "httpMethod": "PATCH", @@ -2577,7 +2577,7 @@ ] }, "setEdgeSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the edge security policy for the specified backend service.", "flatPath": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", "httpMethod": "POST", @@ -2619,7 +2619,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/backendServices/{resource}/setIamPolicy", "httpMethod": "POST", @@ -2657,7 +2657,7 @@ ] }, "setSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", "flatPath": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", "httpMethod": "POST", @@ -2699,7 +2699,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/backendServices/{resource}/testIamPermissions", "httpMethod": "POST", @@ -2738,7 +2738,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", "flatPath": "projects/{project}/global/backendServices/{backendService}", "httpMethod": "PUT", @@ -2785,7 +2785,7 @@ "crossSiteNetworks": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified cross-site network in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", "httpMethod": "DELETE", @@ -2825,7 +2825,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified cross-site network in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", "httpMethod": "GET", @@ -2861,7 +2861,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/global/crossSiteNetworks", "httpMethod": "POST", @@ -2901,7 +2901,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the cross-site networks for a project in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks", "httpMethod": "GET", @@ -2952,7 +2952,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", "httpMethod": "PATCH", @@ -3010,7 +3010,7 @@ "diskTypes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/diskTypes", "httpMethod": "GET", @@ -3072,7 +3072,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified disk type.", "flatPath": "projects/{project}/zones/{zone}/diskTypes/{diskType}", "httpMethod": "GET", @@ -3116,7 +3116,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of disk types available to the specified\nproject.", "flatPath": "projects/{project}/zones/{zone}/diskTypes", "httpMethod": "GET", @@ -3179,7 +3179,7 @@ "disks": { "methods": { "addResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", "httpMethod": "POST", @@ -3230,7 +3230,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/disks", "httpMethod": "GET", @@ -3292,7 +3292,7 @@ ] }, "bulkInsert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Bulk create a set of disks.", "flatPath": "projects/{project}/zones/{zone}/disks/bulkInsert", "httpMethod": "POST", @@ -3335,7 +3335,7 @@ ] }, "bulkSetLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/zones/{zone}/disks/bulkSetLabels", "httpMethod": "POST", @@ -3384,7 +3384,7 @@ ] }, "createSnapshot": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", "httpMethod": "POST", @@ -3440,7 +3440,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", "httpMethod": "DELETE", @@ -3488,7 +3488,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified persistent disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", "httpMethod": "GET", @@ -3532,7 +3532,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", "httpMethod": "GET", @@ -3582,7 +3582,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", "flatPath": "projects/{project}/zones/{zone}/disks", "httpMethod": "POST", @@ -3630,7 +3630,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of persistent disks contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/disks", "httpMethod": "GET", @@ -3689,7 +3689,7 @@ ] }, "removeResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes resource policies from a disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", "httpMethod": "POST", @@ -3740,7 +3740,7 @@ ] }, "resize": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resizes the specified persistent disk.\nYou can only increase the size of the disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/resize", "httpMethod": "POST", @@ -3791,7 +3791,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", "httpMethod": "POST", @@ -3837,7 +3837,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", "httpMethod": "POST", @@ -3888,7 +3888,7 @@ ] }, "startAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Starts asynchronous replication.\nMust be invoked on the primary disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication", "httpMethod": "POST", @@ -3939,7 +3939,7 @@ ] }, "stopAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication", "httpMethod": "POST", @@ -3987,7 +3987,7 @@ ] }, "stopGroupAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", "flatPath": "projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication", "httpMethod": "POST", @@ -4030,7 +4030,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -4077,7 +4077,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", "httpMethod": "PATCH", @@ -4139,7 +4139,7 @@ ] }, "updateKmsKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Rotates the customer-managed\nencryption key to the latest version for the specified persistent disk.", "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/updateKmsKey", "httpMethod": "POST", @@ -4193,7 +4193,7 @@ "externalVpnGateways": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified externalVpnGateway.", "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", "httpMethod": "DELETE", @@ -4233,7 +4233,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", "httpMethod": "GET", @@ -4269,7 +4269,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/externalVpnGateways", "httpMethod": "POST", @@ -4304,7 +4304,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of ExternalVpnGateway available to the specified\nproject.", "flatPath": "projects/{project}/global/externalVpnGateways", "httpMethod": "GET", @@ -4355,7 +4355,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", "httpMethod": "POST", @@ -4393,7 +4393,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", "httpMethod": "POST", @@ -4436,7 +4436,7 @@ "firewallPolicies": { "methods": { "addAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts an association for the specified firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", "httpMethod": "POST", @@ -4476,7 +4476,7 @@ ] }, "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", "httpMethod": "POST", @@ -4511,7 +4511,7 @@ ] }, "cloneRules": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Copies rules to the specified firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", "httpMethod": "POST", @@ -4548,7 +4548,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", "httpMethod": "DELETE", @@ -4580,7 +4580,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", "httpMethod": "GET", @@ -4608,7 +4608,7 @@ ] }, "getAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets an association with the specified name.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", "httpMethod": "GET", @@ -4641,7 +4641,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "locations/global/firewallPolicies/{resource}/getIamPolicy", "httpMethod": "GET", @@ -4675,7 +4675,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", "httpMethod": "GET", @@ -4709,7 +4709,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified project using the data included in\nthe request.", "flatPath": "locations/global/firewallPolicies", "httpMethod": "POST", @@ -4739,7 +4739,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the policies that have been configured for the specified\nfolder or organization.", "flatPath": "locations/global/firewallPolicies", "httpMethod": "GET", @@ -4785,7 +4785,7 @@ ] }, "listAssociations": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists associations of a specified target, i.e., organization or folder.", "flatPath": "locations/global/firewallPolicies/listAssociations", "httpMethod": "GET", @@ -4813,7 +4813,7 @@ ] }, "move": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Moves the specified firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/move", "httpMethod": "POST", @@ -4850,7 +4850,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", "httpMethod": "PATCH", @@ -4885,7 +4885,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", "httpMethod": "POST", @@ -4926,7 +4926,7 @@ ] }, "removeAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes an association for the specified firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", "httpMethod": "POST", @@ -4963,7 +4963,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", "httpMethod": "POST", @@ -5001,7 +5001,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "locations/global/firewallPolicies/{resource}/setIamPolicy", "httpMethod": "POST", @@ -5031,7 +5031,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "locations/global/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -5066,7 +5066,7 @@ "firewalls": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified firewall.", "flatPath": "projects/{project}/global/firewalls/{firewall}", "httpMethod": "DELETE", @@ -5106,7 +5106,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified firewall.", "flatPath": "projects/{project}/global/firewalls/{firewall}", "httpMethod": "GET", @@ -5142,7 +5142,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a firewall rule in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/firewalls", "httpMethod": "POST", @@ -5177,7 +5177,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of firewall rules available to the specified\nproject.", "flatPath": "projects/{project}/global/firewalls", "httpMethod": "GET", @@ -5228,7 +5228,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/firewalls/{firewall}", "httpMethod": "PATCH", @@ -5271,7 +5271,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/firewalls/{resource}/testIamPermissions", "httpMethod": "POST", @@ -5310,7 +5310,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", "flatPath": "projects/{project}/global/firewalls/{firewall}", "httpMethod": "PUT", @@ -5357,7 +5357,7 @@ "forwardingRules": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/forwardingRules", "httpMethod": "GET", @@ -5419,7 +5419,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified ForwardingRule resource.", "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "httpMethod": "DELETE", @@ -5467,7 +5467,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified ForwardingRule resource.", "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "httpMethod": "GET", @@ -5523,7 +5523,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/forwardingRules", "httpMethod": "POST", @@ -5566,7 +5566,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of ForwardingRule resources available to the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/forwardingRules", "httpMethod": "GET", @@ -5625,7 +5625,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "httpMethod": "PATCH", @@ -5676,7 +5676,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on the specified resource. To learn more about labels,\nread the \nLabeling Resources documentation.", "flatPath": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", "httpMethod": "POST", @@ -5727,7 +5727,7 @@ ] }, "setTarget": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", "httpMethod": "POST", @@ -5782,7 +5782,7 @@ "futureReservations": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/futureReservations", "httpMethod": "GET", @@ -5844,7 +5844,7 @@ ] }, "cancel": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Cancel the specified future reservation.", "flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}/cancel", "httpMethod": "POST", @@ -5890,7 +5890,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified future reservation.", "flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", "httpMethod": "DELETE", @@ -5936,7 +5936,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified future reservation.", "flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", "httpMethod": "GET", @@ -5978,7 +5978,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new Future Reservation.", "flatPath": "projects/{project}/zones/{zone}/futureReservations", "httpMethod": "POST", @@ -6020,7 +6020,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "A list of all the future reservations that have been configured for the\nspecified project in specified zone.", "flatPath": "projects/{project}/zones/{zone}/futureReservations", "httpMethod": "GET", @@ -6078,7 +6078,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified future reservation.", "flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", "httpMethod": "PATCH", @@ -6137,7 +6137,7 @@ "globalAddresses": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified address resource.", "flatPath": "projects/{project}/global/addresses/{address}", "httpMethod": "DELETE", @@ -6177,7 +6177,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified address resource.", "flatPath": "projects/{project}/global/addresses/{address}", "httpMethod": "GET", @@ -6213,7 +6213,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an address resource in the specified project by using the data\nincluded in the request.", "flatPath": "projects/{project}/global/addresses", "httpMethod": "POST", @@ -6248,7 +6248,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of global addresses.", "flatPath": "projects/{project}/global/addresses", "httpMethod": "GET", @@ -6299,7 +6299,7 @@ ] }, "move": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Moves the specified address resource from one project to another project.", "flatPath": "projects/{project}/global/addresses/{address}/move", "httpMethod": "POST", @@ -6342,7 +6342,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/global/addresses/{resource}/setLabels", "httpMethod": "POST", @@ -6380,7 +6380,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/addresses/{resource}/testIamPermissions", "httpMethod": "POST", @@ -6423,7 +6423,7 @@ "globalForwardingRules": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified GlobalForwardingRule resource.", "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", "httpMethod": "DELETE", @@ -6463,7 +6463,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", "httpMethod": "GET", @@ -6511,7 +6511,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/forwardingRules", "httpMethod": "POST", @@ -6546,7 +6546,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", "flatPath": "projects/{project}/global/forwardingRules", "httpMethod": "GET", @@ -6597,7 +6597,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", "httpMethod": "PATCH", @@ -6640,7 +6640,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on the specified resource. To learn more about labels,\nread the \nLabeling resources documentation.", "flatPath": "projects/{project}/global/forwardingRules/{resource}/setLabels", "httpMethod": "POST", @@ -6678,7 +6678,7 @@ ] }, "setTarget": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", "httpMethod": "POST", @@ -6725,7 +6725,7 @@ "globalFrontendSettings": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the Global Frontend Billing Bundle Settings for a project.", "flatPath": "projects/{project}/global/globalFrontendSettings", "httpMethod": "GET", @@ -6752,7 +6752,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the Global Frontend Billing Bundle Settings for a project.", "flatPath": "projects/{project}/global/globalFrontendSettings", "httpMethod": "PATCH", @@ -6796,7 +6796,7 @@ "globalNetworkEndpointGroups": { "methods": { "attachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Attach a network endpoint to the specified network endpoint group.", "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", "httpMethod": "POST", @@ -6838,7 +6838,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "DELETE", @@ -6877,7 +6877,7 @@ ] }, "detachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Detach the network endpoint from the specified network endpoint group.", "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", "httpMethod": "POST", @@ -6919,7 +6919,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network endpoint group.", "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "GET", @@ -6954,7 +6954,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", "flatPath": "projects/{project}/global/networkEndpointGroups", "httpMethod": "POST", @@ -6989,7 +6989,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of network endpoint groups that are located in the\nspecified project.", "flatPath": "projects/{project}/global/networkEndpointGroups", "httpMethod": "GET", @@ -7040,7 +7040,7 @@ ] }, "listNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the network endpoints in the specified network endpoint group.", "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", "httpMethod": "POST", @@ -7102,7 +7102,7 @@ "globalOperations": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/operations", "httpMethod": "GET", @@ -7164,7 +7164,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Operations resource.", "flatPath": "projects/{project}/global/operations/{operation}", "httpMethod": "DELETE", @@ -7196,7 +7196,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the specified Operations resource.", "flatPath": "projects/{project}/global/operations/{operation}", "httpMethod": "GET", @@ -7232,7 +7232,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Operation resources contained within the specified\nproject.", "flatPath": "projects/{project}/global/operations", "httpMethod": "GET", @@ -7283,7 +7283,7 @@ ] }, "wait": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", "flatPath": "projects/{project}/global/operations/{operation}/wait", "httpMethod": "POST", @@ -7323,7 +7323,7 @@ "globalOrganizationOperations": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Operations resource.", "flatPath": "locations/global/operations/{operation}", "httpMethod": "DELETE", @@ -7352,7 +7352,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", "flatPath": "locations/global/operations/{operation}", "httpMethod": "GET", @@ -7385,7 +7385,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Operation resources contained within the specified\norganization.", "flatPath": "locations/global/operations", "httpMethod": "GET", @@ -7435,7 +7435,7 @@ "globalPublicDelegatedPrefixes": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified global PublicDelegatedPrefix.", "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "DELETE", @@ -7475,7 +7475,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified global PublicDelegatedPrefix resource.", "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "GET", @@ -7511,7 +7511,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", "flatPath": "projects/{project}/global/publicDelegatedPrefixes", "httpMethod": "POST", @@ -7546,7 +7546,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the global PublicDelegatedPrefixes for a project.", "flatPath": "projects/{project}/global/publicDelegatedPrefixes", "httpMethod": "GET", @@ -7597,7 +7597,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "PATCH", @@ -7644,7 +7644,7 @@ "globalVmExtensionPolicies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all VM Extension Policy resources\navailable to the specified project.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/vmExtensionPolicies", "httpMethod": "GET", @@ -7706,7 +7706,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Purge scoped resources (zonal policies) from a global VM extension\npolicy, and then delete the global VM extension policy. Purge of the scoped\nresources is a pre-condition of the global VM extension policy deletion.\nThe deletion of the global VM extension policy happens after the purge\nrollout is done, so it's not a part of the LRO. It's an automatic process\nthat triggers in the backend.", "flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}/delete", "httpMethod": "POST", @@ -7748,7 +7748,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets details of a global VM extension policy.", "flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", "httpMethod": "GET", @@ -7784,7 +7784,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new project level GlobalVmExtensionPolicy.", "flatPath": "projects/{project}/global/vmExtensionPolicies", "httpMethod": "POST", @@ -7819,7 +7819,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists global VM extension policies.", "flatPath": "projects/{project}/global/vmExtensionPolicies", "httpMethod": "GET", @@ -7870,7 +7870,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a global VM extension policy.", "flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", "httpMethod": "PATCH", @@ -7916,7 +7916,7 @@ "healthChecks": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/healthChecks", "httpMethod": "GET", @@ -7978,7 +7978,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HealthCheck resource.", "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", "httpMethod": "DELETE", @@ -8018,7 +8018,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HealthCheck resource.", "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", "httpMethod": "GET", @@ -8054,7 +8054,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/healthChecks", "httpMethod": "POST", @@ -8089,7 +8089,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of HealthCheck resources available to the specified\nproject.", "flatPath": "projects/{project}/global/healthChecks", "httpMethod": "GET", @@ -8140,7 +8140,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", "httpMethod": "PATCH", @@ -8183,7 +8183,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/healthChecks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -8222,7 +8222,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", "httpMethod": "PUT", @@ -8269,7 +8269,7 @@ "hosts": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified host.", "flatPath": "projects/{project}/zones/{zone}/{association}/hosts/{host}", "httpMethod": "GET", @@ -8317,7 +8317,7 @@ ] }, "getVersion": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to get SBOM versions of a host.", "flatPath": "projects/{project}/zones/{zone}/{association}/hosts/{host}/getVersion", "httpMethod": "POST", @@ -8372,7 +8372,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of hosts.", "flatPath": "projects/{project}/zones/{zone}/{association}/hosts", "httpMethod": "GET", @@ -8440,7 +8440,7 @@ "httpHealthChecks": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HttpHealthCheck resource.", "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", "httpMethod": "DELETE", @@ -8480,7 +8480,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HttpHealthCheck resource.", "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", "httpMethod": "GET", @@ -8516,7 +8516,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a HttpHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpHealthChecks", "httpMethod": "POST", @@ -8551,7 +8551,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of HttpHealthCheck resources available to the specified\nproject.", "flatPath": "projects/{project}/global/httpHealthChecks", "httpMethod": "GET", @@ -8602,7 +8602,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HttpHealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", "httpMethod": "PATCH", @@ -8645,7 +8645,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -8684,7 +8684,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HttpHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", "httpMethod": "PUT", @@ -8731,7 +8731,7 @@ "httpsHealthChecks": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HttpsHealthCheck resource.", "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", "httpMethod": "DELETE", @@ -8771,7 +8771,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HttpsHealthCheck resource.", "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", "httpMethod": "GET", @@ -8807,7 +8807,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpsHealthChecks", "httpMethod": "POST", @@ -8842,7 +8842,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of HttpsHealthCheck resources available to the specified\nproject.", "flatPath": "projects/{project}/global/httpsHealthChecks", "httpMethod": "GET", @@ -8893,7 +8893,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", "httpMethod": "PATCH", @@ -8936,7 +8936,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -8975,7 +8975,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", "httpMethod": "PUT", @@ -9022,7 +9022,7 @@ "imageFamilyViews": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", "flatPath": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", "httpMethod": "GET", @@ -9070,7 +9070,7 @@ "imageViews": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified global ImageView resource, with a regional\ncontext.", "flatPath": "projects/{project}/regions/{region}/imageViews/{resourceId}", "httpMethod": "GET", @@ -9114,7 +9114,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns a list of global ImageView resources, with a regional\ncontext.", "flatPath": "projects/{project}/regions/{region}/imageViews", "httpMethod": "GET", @@ -9177,7 +9177,7 @@ "images": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified image.", "flatPath": "projects/{project}/global/images/{image}", "httpMethod": "DELETE", @@ -9217,7 +9217,7 @@ ] }, "deprecate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", "flatPath": "projects/{project}/global/images/{image}/deprecate", "httpMethod": "POST", @@ -9260,7 +9260,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified image.", "flatPath": "projects/{project}/global/images/{image}", "httpMethod": "GET", @@ -9296,7 +9296,7 @@ ] }, "getFromFamily": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", "flatPath": "projects/{project}/global/images/family/{family}", "httpMethod": "GET", @@ -9332,7 +9332,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/images/{resource}/getIamPolicy", "httpMethod": "GET", @@ -9374,7 +9374,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an image in the specified project using the data included\nin the request.", "flatPath": "projects/{project}/global/images", "httpMethod": "POST", @@ -9414,7 +9414,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", "flatPath": "projects/{project}/global/images", "httpMethod": "GET", @@ -9465,7 +9465,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", "flatPath": "projects/{project}/global/images/{image}", "httpMethod": "PATCH", @@ -9508,7 +9508,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/images/{resource}/setIamPolicy", "httpMethod": "POST", @@ -9546,7 +9546,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/global/images/{resource}/setLabels", "httpMethod": "POST", @@ -9584,7 +9584,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/images/{resource}/testIamPermissions", "httpMethod": "POST", @@ -9627,7 +9627,7 @@ "instanceGroupManagerResizeRequests": { "methods": { "cancel": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", "httpMethod": "POST", @@ -9680,7 +9680,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", "httpMethod": "DELETE", @@ -9733,7 +9733,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns all of the details about the specified resize request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", "httpMethod": "GET", @@ -9782,7 +9782,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", "httpMethod": "POST", @@ -9831,7 +9831,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of resize requests that are contained in the\nmanaged instance group.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", "httpMethod": "GET", @@ -9900,7 +9900,7 @@ "instanceGroupManagers": { "methods": { "abandonInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", "httpMethod": "POST", @@ -9949,7 +9949,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceGroupManagers", "httpMethod": "GET", @@ -10011,7 +10011,7 @@ ] }, "applyUpdatesToInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", "httpMethod": "POST", @@ -10055,7 +10055,7 @@ ] }, "createInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", "httpMethod": "POST", @@ -10104,7 +10104,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "DELETE", @@ -10156,7 +10156,7 @@ ] }, "deleteInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", "httpMethod": "POST", @@ -10211,7 +10211,7 @@ ] }, "deletePerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes selected per-instance configurations for the managed instance\ngroup.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", "httpMethod": "POST", @@ -10255,7 +10255,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns all of the details about the specified managed instance group.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "GET", @@ -10297,7 +10297,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", "httpMethod": "POST", @@ -10339,7 +10339,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", "httpMethod": "GET", @@ -10397,7 +10397,7 @@ ] }, "listErrors": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", "httpMethod": "GET", @@ -10462,7 +10462,7 @@ ] }, "listManagedInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", "httpMethod": "POST", @@ -10527,7 +10527,7 @@ ] }, "listPerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", "httpMethod": "POST", @@ -10592,7 +10592,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "PATCH", @@ -10641,7 +10641,7 @@ ] }, "patchPerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", "httpMethod": "POST", @@ -10690,7 +10690,7 @@ ] }, "recreateInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", "httpMethod": "POST", @@ -10745,7 +10745,7 @@ ] }, "resize": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including:\n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", "httpMethod": "POST", @@ -10799,7 +10799,7 @@ ] }, "resumeInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", "httpMethod": "POST", @@ -10848,7 +10848,7 @@ ] }, "setInstanceTemplate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", "httpMethod": "POST", @@ -10897,7 +10897,7 @@ ] }, "setTargetPools": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", "httpMethod": "POST", @@ -10946,7 +10946,7 @@ ] }, "startInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances", "httpMethod": "POST", @@ -10995,7 +10995,7 @@ ] }, "stopInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances", "httpMethod": "POST", @@ -11050,7 +11050,7 @@ ] }, "suspendInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", "httpMethod": "POST", @@ -11099,7 +11099,7 @@ ] }, "updatePerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", "httpMethod": "POST", @@ -11152,7 +11152,7 @@ "instanceGroups": { "methods": { "addInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead \nAdding instances for more information.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", "httpMethod": "POST", @@ -11201,7 +11201,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceGroups", "httpMethod": "GET", @@ -11263,7 +11263,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", "httpMethod": "DELETE", @@ -11309,7 +11309,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", "httpMethod": "GET", @@ -11351,7 +11351,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instance group in the specified project using the\nparameters that are included in the request.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups", "httpMethod": "POST", @@ -11393,7 +11393,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups", "httpMethod": "GET", @@ -11451,7 +11451,7 @@ ] }, "listInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", "httpMethod": "POST", @@ -11519,7 +11519,7 @@ ] }, "removeInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", "httpMethod": "POST", @@ -11568,7 +11568,7 @@ ] }, "setNamedPorts": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the named ports for the specified instance group.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", "httpMethod": "POST", @@ -11617,7 +11617,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -11668,7 +11668,7 @@ "instanceSettings": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Get Instance settings.", "flatPath": "projects/{project}/zones/{zone}/instanceSettings", "httpMethod": "GET", @@ -11704,7 +11704,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patch Instance settings", "flatPath": "projects/{project}/zones/{zone}/instanceSettings", "httpMethod": "PATCH", @@ -11756,7 +11756,7 @@ "instanceTemplates": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceTemplates", "httpMethod": "GET", @@ -11818,7 +11818,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", "httpMethod": "DELETE", @@ -11858,7 +11858,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified instance template.", "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", "httpMethod": "GET", @@ -11894,7 +11894,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", "httpMethod": "GET", @@ -11936,7 +11936,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", "flatPath": "projects/{project}/global/instanceTemplates", "httpMethod": "POST", @@ -11971,7 +11971,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of instance templates that are contained within\nthe specified project.", "flatPath": "projects/{project}/global/instanceTemplates", "httpMethod": "GET", @@ -12022,7 +12022,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", "httpMethod": "POST", @@ -12060,7 +12060,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", "httpMethod": "POST", @@ -12103,7 +12103,7 @@ "instances": { "methods": { "addAccessConfig": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds an access config to an instance's network interface.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", "httpMethod": "POST", @@ -12161,7 +12161,7 @@ ] }, "addNetworkInterface": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds one dynamic network interface to an active instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface", "httpMethod": "POST", @@ -12211,7 +12211,7 @@ ] }, "addResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", "httpMethod": "POST", @@ -12262,7 +12262,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instances", "httpMethod": "GET", @@ -12324,7 +12324,7 @@ ] }, "attachDisk": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", "httpMethod": "POST", @@ -12380,7 +12380,7 @@ ] }, "bulkInsert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", "flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert", "httpMethod": "POST", @@ -12423,7 +12423,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Instance resource. For more information, seeDeleting\nan instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", "httpMethod": "DELETE", @@ -12476,7 +12476,7 @@ ] }, "deleteAccessConfig": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes an access config from an instance's network interface.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", "httpMethod": "POST", @@ -12538,7 +12538,7 @@ ] }, "deleteNetworkInterface": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates:\n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", "httpMethod": "POST", @@ -12592,7 +12592,7 @@ ] }, "detachDisk": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Detaches a disk from an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", "httpMethod": "POST", @@ -12647,7 +12647,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Instance resource.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", "httpMethod": "GET", @@ -12691,7 +12691,7 @@ ] }, "getEffectiveFirewalls": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns effective firewalls applied to an interface of the instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", "httpMethod": "GET", @@ -12742,7 +12742,7 @@ ] }, "getGuestAttributes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified guest attributes entry.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", "httpMethod": "GET", @@ -12796,7 +12796,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", "httpMethod": "GET", @@ -12846,7 +12846,7 @@ ] }, "getScreenshot": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the screenshot from the specified instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", "httpMethod": "GET", @@ -12890,7 +12890,7 @@ ] }, "getSerialPortOutput": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the last 1 MB of serial port output from the specified instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", "httpMethod": "GET", @@ -12949,7 +12949,7 @@ ] }, "getShieldedInstanceIdentity": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the Shielded Instance Identity of an instance", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", "httpMethod": "GET", @@ -12993,7 +12993,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instance resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/zones/{zone}/instances", "httpMethod": "POST", @@ -13046,7 +13046,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of instances contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/instances", "httpMethod": "GET", @@ -13105,7 +13105,7 @@ ] }, "listReferrers": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/referrers", "httpMethod": "GET", @@ -13172,7 +13172,7 @@ ] }, "performMaintenance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Perform a manual maintenance on the instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/performMaintenance", "httpMethod": "POST", @@ -13220,7 +13220,7 @@ ] }, "removeResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes resource policies from an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", "httpMethod": "POST", @@ -13271,7 +13271,7 @@ ] }, "reportHostAsFaulty": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Mark the host as faulty and try to restart the instance on a new host.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty", "httpMethod": "POST", @@ -13322,7 +13322,7 @@ ] }, "reset": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reset", "httpMethod": "POST", @@ -13370,7 +13370,7 @@ ] }, "resume": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resumes an instance that was suspended using theinstances().suspend\nmethod.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/resume", "httpMethod": "POST", @@ -13418,7 +13418,7 @@ ] }, "sendDiagnosticInterrupt": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sends diagnostic interrupt to the instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", "httpMethod": "POST", @@ -13458,7 +13458,7 @@ ] }, "setDeletionProtection": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets deletion protection on the instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", "httpMethod": "POST", @@ -13512,7 +13512,7 @@ ] }, "setDiskAutoDelete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the auto-delete flag for a disk attached to an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", "httpMethod": "POST", @@ -13575,7 +13575,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", "httpMethod": "POST", @@ -13621,7 +13621,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", "httpMethod": "POST", @@ -13672,7 +13672,7 @@ ] }, "setMachineResources": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", "httpMethod": "POST", @@ -13723,7 +13723,7 @@ ] }, "setMachineType": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the machine type for a stopped instance to the machine\ntype specified in the request.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", "httpMethod": "POST", @@ -13774,7 +13774,7 @@ ] }, "setMetadata": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets metadata for the specified instance to the data included\nin the request.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", "httpMethod": "POST", @@ -13825,7 +13825,7 @@ ] }, "setMinCpuPlatform": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", "httpMethod": "POST", @@ -13876,7 +13876,7 @@ ] }, "setName": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets name of an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setName", "httpMethod": "POST", @@ -13927,7 +13927,7 @@ ] }, "setScheduling": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", "httpMethod": "POST", @@ -13978,7 +13978,7 @@ ] }, "setSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy", "httpMethod": "POST", @@ -14028,7 +14028,7 @@ ] }, "setServiceAccount": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", "httpMethod": "POST", @@ -14079,7 +14079,7 @@ ] }, "setShieldedInstanceIntegrityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", "httpMethod": "PATCH", @@ -14130,7 +14130,7 @@ ] }, "setTags": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets network tags\nfor the specified instance to the data included in the request.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setTags", "httpMethod": "POST", @@ -14181,7 +14181,7 @@ ] }, "simulateMaintenanceEvent": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", "httpMethod": "POST", @@ -14234,7 +14234,7 @@ ] }, "start": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/start", "httpMethod": "POST", @@ -14282,7 +14282,7 @@ ] }, "startWithEncryptionKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", "httpMethod": "POST", @@ -14333,7 +14333,7 @@ ] }, "stop": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/stop", "httpMethod": "POST", @@ -14391,7 +14391,7 @@ ] }, "suspend": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "This method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/suspend", "httpMethod": "POST", @@ -14444,7 +14444,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", "httpMethod": "POST", @@ -14491,7 +14491,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", "httpMethod": "PUT", @@ -14581,7 +14581,7 @@ ] }, "updateAccessConfig": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", "httpMethod": "POST", @@ -14639,7 +14639,7 @@ ] }, "updateDisplayDevice": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", "httpMethod": "PATCH", @@ -14690,7 +14690,7 @@ ] }, "updateNetworkInterface": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", "httpMethod": "PATCH", @@ -14748,7 +14748,7 @@ ] }, "updateShieldedInstanceConfig": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", "httpMethod": "PATCH", @@ -14803,7 +14803,7 @@ "instantSnapshotGroups": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "deletes a Zonal InstantSnapshotGroup resource", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", "httpMethod": "DELETE", @@ -14851,7 +14851,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "returns the specified InstantSnapshotGroup resource in the specified zone.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", "httpMethod": "GET", @@ -14895,7 +14895,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/getIamPolicy", "httpMethod": "GET", @@ -14945,7 +14945,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "inserts a Zonal InstantSnapshotGroup resource", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups", "httpMethod": "POST", @@ -14993,7 +14993,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "retrieves the list of InstantSnapshotGroup resources contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups", "httpMethod": "GET", @@ -15052,7 +15052,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/setIamPolicy", "httpMethod": "POST", @@ -15098,7 +15098,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -15149,7 +15149,7 @@ "instantSnapshots": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instantSnapshots", "httpMethod": "GET", @@ -15211,7 +15211,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", "httpMethod": "DELETE", @@ -15259,7 +15259,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified InstantSnapshot resource in the specified zone.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", "httpMethod": "GET", @@ -15303,7 +15303,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy", "httpMethod": "GET", @@ -15353,7 +15353,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instant snapshot in the specified zone.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots", "httpMethod": "POST", @@ -15396,7 +15396,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots", "httpMethod": "GET", @@ -15455,7 +15455,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy", "httpMethod": "POST", @@ -15501,7 +15501,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels", "httpMethod": "POST", @@ -15552,7 +15552,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions", "httpMethod": "POST", @@ -15603,7 +15603,7 @@ "interconnectAttachmentGroups": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified InterconnectAttachmentGroup in the given scope", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", "httpMethod": "DELETE", @@ -15643,7 +15643,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified InterconnectAttachmentGroup resource in the given\nscope.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", "httpMethod": "GET", @@ -15679,7 +15679,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/getIamPolicy", "httpMethod": "GET", @@ -15721,7 +15721,7 @@ ] }, "getOperationalStatus": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus", "httpMethod": "GET", @@ -15757,7 +15757,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups", "httpMethod": "POST", @@ -15792,7 +15792,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the InterconnectAttachmentGroups for a project in the given scope.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups", "httpMethod": "GET", @@ -15843,7 +15843,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", "httpMethod": "PATCH", @@ -15892,7 +15892,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/setIamPolicy", "httpMethod": "POST", @@ -15930,7 +15930,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -15973,7 +15973,7 @@ "interconnectAttachments": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/interconnectAttachments", "httpMethod": "GET", @@ -16035,7 +16035,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified interconnect attachment.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", "httpMethod": "DELETE", @@ -16083,7 +16083,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified interconnect attachment.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", "httpMethod": "GET", @@ -16127,7 +16127,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", "httpMethod": "POST", @@ -16175,7 +16175,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of interconnect attachments contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", "httpMethod": "GET", @@ -16234,7 +16234,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", "httpMethod": "PATCH", @@ -16285,7 +16285,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", "httpMethod": "POST", @@ -16340,7 +16340,7 @@ "interconnectGroups": { "methods": { "createMembers": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create Interconnects with redundancy by creating them in a specified\ninterconnect group.", "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers", "httpMethod": "POST", @@ -16378,7 +16378,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified InterconnectGroup in the given scope", "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", "httpMethod": "DELETE", @@ -16418,7 +16418,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified InterconnectGroup resource in the given scope.", "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", "httpMethod": "GET", @@ -16454,7 +16454,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/interconnectGroups/{resource}/getIamPolicy", "httpMethod": "GET", @@ -16496,7 +16496,7 @@ ] }, "getOperationalStatus": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the interconnectStatuses for the specified\nInterconnectGroup.", "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus", "httpMethod": "GET", @@ -16532,7 +16532,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/global/interconnectGroups", "httpMethod": "POST", @@ -16567,7 +16567,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the InterconnectGroups for a project in the given scope.", "flatPath": "projects/{project}/global/interconnectGroups", "httpMethod": "GET", @@ -16618,7 +16618,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", "httpMethod": "PATCH", @@ -16667,7 +16667,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", "httpMethod": "POST", @@ -16705,7 +16705,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -16748,7 +16748,7 @@ "interconnectLocations": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", "flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", "httpMethod": "GET", @@ -16784,7 +16784,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of interconnect locations available to the specified\nproject.", "flatPath": "projects/{project}/global/interconnectLocations", "httpMethod": "GET", @@ -16839,7 +16839,7 @@ "interconnectRemoteLocations": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", "flatPath": "projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}", "httpMethod": "GET", @@ -16875,7 +16875,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of interconnect remote locations available to the\nspecified project.", "flatPath": "projects/{project}/global/interconnectRemoteLocations", "httpMethod": "GET", @@ -16930,7 +16930,7 @@ "interconnects": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Interconnect.", "flatPath": "projects/{project}/global/interconnects/{interconnect}", "httpMethod": "DELETE", @@ -16970,7 +16970,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", "flatPath": "projects/{project}/global/interconnects/{interconnect}", "httpMethod": "GET", @@ -17006,7 +17006,7 @@ ] }, "getDiagnostics": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", "flatPath": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", "httpMethod": "GET", @@ -17042,7 +17042,7 @@ ] }, "getMacsecConfig": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the interconnectMacsecConfig for the specified\nInterconnect.", "flatPath": "projects/{project}/global/interconnects/{interconnect}/getMacsecConfig", "httpMethod": "GET", @@ -17078,7 +17078,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an Interconnect in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/interconnects", "httpMethod": "POST", @@ -17113,7 +17113,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Interconnects available to the specified project.", "flatPath": "projects/{project}/global/interconnects", "httpMethod": "GET", @@ -17164,7 +17164,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/interconnects/{interconnect}", "httpMethod": "PATCH", @@ -17207,7 +17207,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", "flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", "httpMethod": "POST", @@ -17245,7 +17245,7 @@ ] }, "setName": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets name of an interconnect.", "flatPath": "projects/{project}/global/interconnects/{interconnect}/setName", "httpMethod": "POST", @@ -17292,7 +17292,7 @@ "licenseCodes": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenseCodes/{licenseCode}", "httpMethod": "GET", @@ -17328,7 +17328,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenseCodes/{resource}/getIamPolicy", "httpMethod": "GET", @@ -17370,7 +17370,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenseCodes/{resource}/setIamPolicy", "httpMethod": "POST", @@ -17408,7 +17408,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", "httpMethod": "POST", @@ -17451,7 +17451,7 @@ "licenses": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified license.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{license}", "httpMethod": "DELETE", @@ -17491,7 +17491,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified License resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{license}", "httpMethod": "GET", @@ -17527,7 +17527,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{resource}/getIamPolicy", "httpMethod": "GET", @@ -17569,7 +17569,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create a License resource in the specified project.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses", "httpMethod": "POST", @@ -17607,7 +17607,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses", "httpMethod": "GET", @@ -17658,7 +17658,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{resource}/setIamPolicy", "httpMethod": "POST", @@ -17696,7 +17696,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{resource}/testIamPermissions", "httpMethod": "POST", @@ -17735,7 +17735,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a License resource in the specified project.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", "flatPath": "projects/{project}/global/licenses/{license}", "httpMethod": "PATCH", @@ -17788,7 +17788,7 @@ "machineImages": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", "flatPath": "projects/{project}/global/machineImages/{machineImage}", "httpMethod": "DELETE", @@ -17828,7 +17828,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified machine image.", "flatPath": "projects/{project}/global/machineImages/{machineImage}", "httpMethod": "GET", @@ -17864,7 +17864,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/machineImages/{resource}/getIamPolicy", "httpMethod": "GET", @@ -17906,7 +17906,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", "flatPath": "projects/{project}/global/machineImages", "httpMethod": "POST", @@ -17946,7 +17946,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of machine images that are contained within\nthe specified project.", "flatPath": "projects/{project}/global/machineImages", "httpMethod": "GET", @@ -17997,7 +17997,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/machineImages/{resource}/setIamPolicy", "httpMethod": "POST", @@ -18035,7 +18035,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/global/machineImages/{resource}/setLabels", "httpMethod": "POST", @@ -18073,7 +18073,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/machineImages/{resource}/testIamPermissions", "httpMethod": "POST", @@ -18116,7 +18116,7 @@ "machineTypes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/machineTypes", "httpMethod": "GET", @@ -18178,7 +18178,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified machine type.", "flatPath": "projects/{project}/zones/{zone}/machineTypes/{machineType}", "httpMethod": "GET", @@ -18222,7 +18222,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of machine types available to the specified\nproject.", "flatPath": "projects/{project}/zones/{zone}/machineTypes", "httpMethod": "GET", @@ -18285,7 +18285,7 @@ "managedRulesets": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the details for the specified managed ruleset name.", "flatPath": "projects/{project}/global/managedRulesets/{managedRuleset}", "httpMethod": "GET", @@ -18321,7 +18321,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all the managed rulesets available.", "flatPath": "projects/{project}/global/managedRulesets", "httpMethod": "GET", @@ -18376,7 +18376,7 @@ "networkAttachments": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkAttachments", "httpMethod": "GET", @@ -18438,7 +18438,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified NetworkAttachment in the given scope", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", "httpMethod": "DELETE", @@ -18486,7 +18486,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified NetworkAttachment resource in the given scope.", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", "httpMethod": "GET", @@ -18530,7 +18530,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", "httpMethod": "GET", @@ -18580,7 +18580,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/networkAttachments", "httpMethod": "POST", @@ -18623,7 +18623,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the NetworkAttachments for a project in the given scope.", "flatPath": "projects/{project}/regions/{region}/networkAttachments", "httpMethod": "GET", @@ -18682,7 +18682,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", "httpMethod": "PATCH", @@ -18733,7 +18733,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", "httpMethod": "POST", @@ -18779,7 +18779,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", "httpMethod": "POST", @@ -18830,7 +18830,7 @@ "networkEdgeSecurityServices": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkEdgeSecurityServices", "httpMethod": "GET", @@ -18892,7 +18892,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified service.", "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", "httpMethod": "DELETE", @@ -18940,7 +18940,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a specified NetworkEdgeSecurityService.", "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", "httpMethod": "GET", @@ -18984,7 +18984,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new service in the specified project using the data included in\nthe request.", "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices", "httpMethod": "POST", @@ -19032,7 +19032,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request.", "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", "httpMethod": "PATCH", @@ -19098,7 +19098,7 @@ "networkEndpointGroups": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkEndpointGroups", "httpMethod": "GET", @@ -19160,7 +19160,7 @@ ] }, "attachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Attach a list of network endpoints to the specified network endpoint group.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", "httpMethod": "POST", @@ -19209,7 +19209,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "DELETE", @@ -19255,7 +19255,7 @@ ] }, "detachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Detach a list of network endpoints from the specified network endpoint\ngroup.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", "httpMethod": "POST", @@ -19304,7 +19304,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network endpoint group.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "GET", @@ -19346,7 +19346,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", "httpMethod": "POST", @@ -19388,7 +19388,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", "httpMethod": "GET", @@ -19446,7 +19446,7 @@ ] }, "listNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the network endpoints in the specified network endpoint group.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", "httpMethod": "POST", @@ -19514,7 +19514,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -19565,7 +19565,7 @@ "networkFirewallPolicies": { "methods": { "addAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts an association for the specified firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", "httpMethod": "POST", @@ -19613,7 +19613,7 @@ ] }, "addPacketMirroringRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a packet mirroring rule into a firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", "httpMethod": "POST", @@ -19668,7 +19668,7 @@ ] }, "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", "httpMethod": "POST", @@ -19723,7 +19723,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/firewallPolicies", "httpMethod": "GET", @@ -19785,7 +19785,7 @@ ] }, "cloneRules": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Copies rules to the specified firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", "httpMethod": "POST", @@ -19830,7 +19830,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", "httpMethod": "DELETE", @@ -19870,7 +19870,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", "httpMethod": "GET", @@ -19906,7 +19906,7 @@ ] }, "getAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets an association with the specified name.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", "httpMethod": "GET", @@ -19947,7 +19947,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", "httpMethod": "GET", @@ -19989,7 +19989,7 @@ ] }, "getPacketMirroringRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a packet mirroring rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", "httpMethod": "GET", @@ -20031,7 +20031,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", "httpMethod": "GET", @@ -20073,7 +20073,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified project using the data included in\nthe request.", "flatPath": "projects/{project}/global/firewallPolicies", "httpMethod": "POST", @@ -20108,7 +20108,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the policies that have been configured for the specified project.", "flatPath": "projects/{project}/global/firewallPolicies", "httpMethod": "GET", @@ -20159,7 +20159,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", "httpMethod": "PATCH", @@ -20202,7 +20202,7 @@ ] }, "patchPacketMirroringRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a packet mirroring rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", "httpMethod": "POST", @@ -20251,7 +20251,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", "httpMethod": "POST", @@ -20300,7 +20300,7 @@ ] }, "removeAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes an association for the specified firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", "httpMethod": "POST", @@ -20345,7 +20345,7 @@ ] }, "removePacketMirroringRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a packet mirroring rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", "httpMethod": "POST", @@ -20391,7 +20391,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", "httpMethod": "POST", @@ -20437,7 +20437,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", "httpMethod": "POST", @@ -20475,7 +20475,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -20518,7 +20518,7 @@ "networkProfiles": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network profile.", "flatPath": "projects/{project}/global/networkProfiles/{networkProfile}", "httpMethod": "GET", @@ -20554,7 +20554,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of network profiles available to the specified\nproject.", "flatPath": "projects/{project}/global/networkProfiles", "httpMethod": "GET", @@ -20609,7 +20609,7 @@ "networks": { "methods": { "addPeering": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds a peering to the specified network.", "flatPath": "projects/{project}/global/networks/{network}/addPeering", "httpMethod": "POST", @@ -20652,7 +20652,7 @@ ] }, "cancelRequestRemovePeering": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Cancel requests to remove a peering from the specified network. Applicable\nonly for PeeringConnection with update_strategy=CONSENSUS. Cancels a\nrequest to remove a peering from the specified network.", "flatPath": "projects/{project}/global/networks/{network}/cancelRequestRemovePeering", "httpMethod": "POST", @@ -20695,7 +20695,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified network.", "flatPath": "projects/{project}/global/networks/{network}", "httpMethod": "DELETE", @@ -20735,7 +20735,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network.", "flatPath": "projects/{project}/global/networks/{network}", "httpMethod": "GET", @@ -20771,7 +20771,7 @@ ] }, "getEffectiveFirewalls": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the effective firewalls on a given network.", "flatPath": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", "httpMethod": "GET", @@ -20807,7 +20807,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a network in the specified project using the data included\nin the request.", "flatPath": "projects/{project}/global/networks", "httpMethod": "POST", @@ -20842,7 +20842,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of networks available to the specified project.", "flatPath": "projects/{project}/global/networks", "httpMethod": "GET", @@ -20893,7 +20893,7 @@ ] }, "listPeeringRoutes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the peering routes exchanged over peering connection.", "flatPath": "projects/{project}/global/networks/{network}/listPeeringRoutes", "httpMethod": "GET", @@ -20975,7 +20975,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", "flatPath": "projects/{project}/global/networks/{network}", "httpMethod": "PATCH", @@ -21018,7 +21018,7 @@ ] }, "removePeering": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes a peering from the specified network.", "flatPath": "projects/{project}/global/networks/{network}/removePeering", "httpMethod": "POST", @@ -21061,7 +21061,7 @@ ] }, "requestRemovePeering": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", "flatPath": "projects/{project}/global/networks/{network}/requestRemovePeering", "httpMethod": "POST", @@ -21104,7 +21104,7 @@ ] }, "switchToCustomMode": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Switches the network mode from auto subnet mode to custom subnet mode.", "flatPath": "projects/{project}/global/networks/{network}/switchToCustomMode", "httpMethod": "POST", @@ -21144,7 +21144,7 @@ ] }, "updatePeering": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", "flatPath": "projects/{project}/global/networks/{network}/updatePeering", "httpMethod": "PATCH", @@ -21191,7 +21191,7 @@ "nodeGroups": { "methods": { "addNodes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds specified number of nodes to the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", "httpMethod": "POST", @@ -21242,7 +21242,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeGroups", "httpMethod": "GET", @@ -21304,7 +21304,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified NodeGroup resource.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", "httpMethod": "DELETE", @@ -21352,7 +21352,7 @@ ] }, "deleteNodes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes specified nodes from the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", "httpMethod": "POST", @@ -21403,7 +21403,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", "httpMethod": "GET", @@ -21447,7 +21447,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", "httpMethod": "GET", @@ -21497,7 +21497,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a NodeGroup resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups", "httpMethod": "POST", @@ -21548,7 +21548,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups", "httpMethod": "GET", @@ -21607,7 +21607,7 @@ ] }, "listNodes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists nodes in the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", "httpMethod": "POST", @@ -21674,7 +21674,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", "httpMethod": "PATCH", @@ -21725,7 +21725,7 @@ ] }, "performMaintenance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Perform maintenance on a subset of nodes in the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance", "httpMethod": "POST", @@ -21776,7 +21776,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", "httpMethod": "POST", @@ -21822,7 +21822,7 @@ ] }, "setNodeTemplate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the node template of the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", "httpMethod": "POST", @@ -21873,7 +21873,7 @@ ] }, "simulateMaintenanceEvent": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Simulates maintenance event on specified nodes from the node group.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent", "httpMethod": "POST", @@ -21924,7 +21924,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -21975,7 +21975,7 @@ "nodeTemplates": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeTemplates", "httpMethod": "GET", @@ -22037,7 +22037,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified NodeTemplate resource.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", "httpMethod": "DELETE", @@ -22085,7 +22085,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified node template.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", "httpMethod": "GET", @@ -22129,7 +22129,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", "httpMethod": "GET", @@ -22179,7 +22179,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates", "httpMethod": "POST", @@ -22222,7 +22222,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of node templates available to the specified\nproject.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates", "httpMethod": "GET", @@ -22281,7 +22281,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", "httpMethod": "POST", @@ -22327,7 +22327,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", "httpMethod": "POST", @@ -22378,7 +22378,7 @@ "nodeTypes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeTypes", "httpMethod": "GET", @@ -22440,7 +22440,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified node type.", "flatPath": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", "httpMethod": "GET", @@ -22484,7 +22484,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of node types available to the specified\nproject.", "flatPath": "projects/{project}/zones/{zone}/nodeTypes", "httpMethod": "GET", @@ -22547,7 +22547,7 @@ "organizationSecurityPolicies": { "methods": { "addAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/addAssociation", "httpMethod": "POST", @@ -22587,7 +22587,7 @@ ] }, "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/addRule", "httpMethod": "POST", @@ -22622,7 +22622,7 @@ ] }, "copyRules": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/copyRules", "httpMethod": "POST", @@ -22659,7 +22659,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}", "httpMethod": "DELETE", @@ -22691,7 +22691,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}", "httpMethod": "GET", @@ -22719,7 +22719,7 @@ ] }, "getAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/getAssociation", "httpMethod": "GET", @@ -22752,7 +22752,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/getRule", "httpMethod": "GET", @@ -22786,7 +22786,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", "flatPath": "locations/global/securityPolicies", "httpMethod": "POST", @@ -22816,7 +22816,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", "flatPath": "locations/global/securityPolicies", "httpMethod": "GET", @@ -22862,7 +22862,7 @@ ] }, "listAssociations": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", "flatPath": "locations/global/securityPolicies/listAssociations", "httpMethod": "GET", @@ -22885,7 +22885,7 @@ ] }, "listPreconfiguredExpressionSets": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", "flatPath": "locations/global/securityPolicies/listPreconfiguredExpressionSets", "httpMethod": "GET", @@ -22931,7 +22931,7 @@ ] }, "move": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/move", "httpMethod": "POST", @@ -22968,7 +22968,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}", "httpMethod": "PATCH", @@ -23003,7 +23003,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/patchRule", "httpMethod": "POST", @@ -23044,7 +23044,7 @@ ] }, "removeAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/removeAssociation", "httpMethod": "POST", @@ -23081,7 +23081,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", "flatPath": "locations/global/securityPolicies/{securityPolicy}/removeRule", "httpMethod": "POST", @@ -23123,7 +23123,7 @@ "packetMirrorings": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/packetMirrorings", "httpMethod": "GET", @@ -23185,7 +23185,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified PacketMirroring resource.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", "httpMethod": "DELETE", @@ -23233,7 +23233,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified PacketMirroring resource.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", "httpMethod": "GET", @@ -23277,7 +23277,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings", "httpMethod": "POST", @@ -23320,7 +23320,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of PacketMirroring resources available to the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings", "httpMethod": "GET", @@ -23379,7 +23379,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", "httpMethod": "PATCH", @@ -23430,7 +23430,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", "httpMethod": "POST", @@ -23481,7 +23481,7 @@ "previewFeatures": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the details of the given PreviewFeature.", "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", "httpMethod": "GET", @@ -23517,7 +23517,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the details of the given PreviewFeature.", "flatPath": "projects/{project}/global/previewFeatures", "httpMethod": "GET", @@ -23568,7 +23568,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", "flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", "httpMethod": "PATCH", @@ -23615,7 +23615,7 @@ "projectViews": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified global ProjectViews resource, with a regional\ncontext.\nThis regional API endpoint reads resource metadata from regional\nread-only replicas. Because changes are copied to these regional replicas\nasynchronously, for real-time resource reads or any write operations\n(creating, updating, or deleting resources), use the global\n[projects.get](https://cloud.google.com/compute/docs/reference/rest/v1/projects/get)\nendpoint.", "flatPath": "projects/{project}/regions/{region}/projectViews", "httpMethod": "GET", @@ -23655,7 +23655,7 @@ "projects": { "methods": { "disableXpnHost": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Disable this project as a shared VPC host project.", "flatPath": "projects/{project}/disableXpnHost", "httpMethod": "POST", @@ -23687,7 +23687,7 @@ ] }, "disableXpnResource": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Disable a service resource (also known as service project) associated with\nthis host project.", "flatPath": "projects/{project}/disableXpnResource", "httpMethod": "POST", @@ -23722,7 +23722,7 @@ ] }, "enableXpnHost": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Enable this project as a shared VPC host project.", "flatPath": "projects/{project}/enableXpnHost", "httpMethod": "POST", @@ -23754,7 +23754,7 @@ ] }, "enableXpnResource": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", "flatPath": "projects/{project}/enableXpnResource", "httpMethod": "POST", @@ -23789,7 +23789,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", "flatPath": "projects/{project}", "httpMethod": "GET", @@ -23817,7 +23817,7 @@ ] }, "getXpnHost": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the shared VPC host project that this project links to. May be empty\nif no link exists.", "flatPath": "projects/{project}/getXpnHost", "httpMethod": "GET", @@ -23844,7 +23844,7 @@ ] }, "getXpnResources": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets service resources (a.k.a service project) associated with this host\nproject.", "flatPath": "projects/{project}/getXpnResources", "httpMethod": "GET", @@ -23894,7 +23894,7 @@ ] }, "listXpnHosts": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all shared VPC host projects visible to the user in an organization.", "flatPath": "projects/{project}/listXpnHosts", "httpMethod": "POST", @@ -23947,7 +23947,7 @@ ] }, "moveDisk": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "deprecated": true, "description": "Moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https://cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", "flatPath": "projects/{project}/moveDisk", @@ -23983,7 +23983,7 @@ ] }, "moveInstance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "deprecated": true, "description": "Moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\n cause unexpected behavior. For more information, see the [known\n issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", "flatPath": "projects/{project}/moveInstance", @@ -24019,7 +24019,7 @@ ] }, "setCloudArmorTier": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", "flatPath": "projects/{project}/setCloudArmorTier", "httpMethod": "POST", @@ -24054,7 +24054,7 @@ ] }, "setCommonInstanceMetadata": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets metadata common to all instances within the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/setCommonInstanceMetadata", "httpMethod": "POST", @@ -24089,7 +24089,7 @@ ] }, "setDefaultNetworkTier": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", "flatPath": "projects/{project}/setDefaultNetworkTier", "httpMethod": "POST", @@ -24124,7 +24124,7 @@ ] }, "setUsageExportBucket": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", "flatPath": "projects/{project}/setUsageExportBucket", "httpMethod": "POST", @@ -24166,7 +24166,7 @@ "publicAdvertisedPrefixes": { "methods": { "announce": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Announces the specified PublicAdvertisedPrefix", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", "httpMethod": "POST", @@ -24205,7 +24205,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified PublicAdvertisedPrefix", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", "httpMethod": "DELETE", @@ -24245,7 +24245,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified PublicAdvertisedPrefix resource.", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", "httpMethod": "GET", @@ -24281,7 +24281,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", "httpMethod": "POST", @@ -24316,7 +24316,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the PublicAdvertisedPrefixes for a project.", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", "httpMethod": "GET", @@ -24367,7 +24367,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", "httpMethod": "PATCH", @@ -24410,7 +24410,7 @@ ] }, "withdraw": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Withdraws the specified PublicAdvertisedPrefix", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", "httpMethod": "POST", @@ -24453,7 +24453,7 @@ "publicDelegatedPrefixes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/publicDelegatedPrefixes", "httpMethod": "GET", @@ -24515,7 +24515,7 @@ ] }, "announce": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Announces the specified PublicDelegatedPrefix in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", "httpMethod": "POST", @@ -24561,7 +24561,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified PublicDelegatedPrefix in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "DELETE", @@ -24609,7 +24609,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified PublicDelegatedPrefix resource in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "GET", @@ -24653,7 +24653,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", "httpMethod": "POST", @@ -24696,7 +24696,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the PublicDelegatedPrefixes for a project in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", "httpMethod": "GET", @@ -24755,7 +24755,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", "httpMethod": "PATCH", @@ -24806,7 +24806,7 @@ ] }, "withdraw": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Withdraws the specified PublicDelegatedPrefix in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", "httpMethod": "POST", @@ -24856,7 +24856,7 @@ "regionAutoscalers": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified autoscaler.", "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", "httpMethod": "DELETE", @@ -24904,7 +24904,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified autoscaler.", "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", "httpMethod": "GET", @@ -24948,7 +24948,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an autoscaler in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/autoscalers", "httpMethod": "POST", @@ -24991,7 +24991,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of autoscalers contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/autoscalers", "httpMethod": "GET", @@ -25050,7 +25050,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/autoscalers", "httpMethod": "PATCH", @@ -25099,7 +25099,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions", "httpMethod": "POST", @@ -25146,7 +25146,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an autoscaler in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/autoscalers", "httpMethod": "PUT", @@ -25199,7 +25199,7 @@ "regionBackendBuckets": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified regional BackendBucket resource.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", "httpMethod": "DELETE", @@ -25247,7 +25247,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified regional BackendBucket resource.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", "httpMethod": "GET", @@ -25291,7 +25291,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/getIamPolicy", "httpMethod": "GET", @@ -25341,7 +25341,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a RegionBackendBucket in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/backendBuckets", "httpMethod": "POST", @@ -25384,7 +25384,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of BackendBucket resources available to the specified\nproject in the given region.", "flatPath": "projects/{project}/regions/{region}/backendBuckets", "httpMethod": "GET", @@ -25443,7 +25443,7 @@ ] }, "listUsable": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of all usable backend buckets in the specified project in\nthe given region.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/listUsable", "httpMethod": "GET", @@ -25502,7 +25502,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", "httpMethod": "PATCH", @@ -25553,7 +25553,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/setIamPolicy", "httpMethod": "POST", @@ -25599,7 +25599,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/testIamPermissions", "httpMethod": "POST", @@ -25650,7 +25650,7 @@ "regionBackendServices": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified regional BackendService resource.", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", "httpMethod": "DELETE", @@ -25698,7 +25698,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified regional BackendService resource.", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", "httpMethod": "GET", @@ -25742,7 +25742,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the most recent health check results for this\nregional BackendService.", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", "httpMethod": "POST", @@ -25788,7 +25788,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", "httpMethod": "GET", @@ -25838,7 +25838,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", "flatPath": "projects/{project}/regions/{region}/backendServices", "httpMethod": "POST", @@ -25881,7 +25881,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", "flatPath": "projects/{project}/regions/{region}/backendServices", "httpMethod": "GET", @@ -25940,7 +25940,7 @@ ] }, "listUsable": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of all usable backend services for Application Load\nBalancers and Proxy Network Load Balancers in the specified project in the\ngiven region. Backend services for external and internal passthrough\nNetwork Load Balancers are not included in the response.", "flatPath": "projects/{project}/regions/{region}/backendServices/listUsable", "httpMethod": "GET", @@ -25998,7 +25998,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see \nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", "httpMethod": "PATCH", @@ -26049,7 +26049,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", "httpMethod": "POST", @@ -26095,7 +26095,7 @@ ] }, "setSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy", "httpMethod": "POST", @@ -26145,7 +26145,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions", "httpMethod": "POST", @@ -26192,7 +26192,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee \nBackend services overview.", "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", "httpMethod": "PUT", @@ -26247,7 +26247,7 @@ "regionCommitments": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/commitments", "httpMethod": "GET", @@ -26309,7 +26309,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified commitment resource.", "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", "httpMethod": "GET", @@ -26353,7 +26353,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a commitment in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/commitments", "httpMethod": "POST", @@ -26396,7 +26396,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of commitments contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/commitments", "httpMethod": "GET", @@ -26455,7 +26455,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", "httpMethod": "PATCH", @@ -26521,7 +26521,7 @@ "regionCompositeHealthChecks": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/compositeHealthChecks", "httpMethod": "GET", @@ -26583,7 +26583,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified CompositeHealthCheck in the given region", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", "httpMethod": "DELETE", @@ -26631,7 +26631,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified CompositeHealthCheck resource in the given region.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", "httpMethod": "GET", @@ -26675,7 +26675,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the most recent health check results for this\nregional CompositeHealthCheck.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}/getHealth", "httpMethod": "GET", @@ -26719,7 +26719,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks", "httpMethod": "POST", @@ -26762,7 +26762,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the CompositeHealthChecks for a project in the given region.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks", "httpMethod": "GET", @@ -26821,7 +26821,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", "httpMethod": "PATCH", @@ -26871,7 +26871,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -26922,7 +26922,7 @@ "regionDiskTypes": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified regional disk type.", "flatPath": "projects/{project}/regions/{region}/diskTypes/{diskType}", "httpMethod": "GET", @@ -26966,7 +26966,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of regional disk types available to the specified project.", "flatPath": "projects/{project}/regions/{region}/diskTypes", "httpMethod": "GET", @@ -27029,7 +27029,7 @@ "regionDisks": { "methods": { "addResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", "httpMethod": "POST", @@ -27080,7 +27080,7 @@ ] }, "bulkInsert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Bulk create a set of disks.", "flatPath": "projects/{project}/regions/{region}/disks/bulkInsert", "httpMethod": "POST", @@ -27123,7 +27123,7 @@ ] }, "createSnapshot": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", "httpMethod": "POST", @@ -27174,7 +27174,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}", "httpMethod": "DELETE", @@ -27222,7 +27222,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns a specified regional persistent disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}", "httpMethod": "GET", @@ -27266,7 +27266,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", "httpMethod": "GET", @@ -27316,7 +27316,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a persistent regional disk in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/disks", "httpMethod": "POST", @@ -27364,7 +27364,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of persistent disks contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/disks", "httpMethod": "GET", @@ -27423,7 +27423,7 @@ ] }, "removeResourcePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes resource policies from a regional disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", "httpMethod": "POST", @@ -27474,7 +27474,7 @@ ] }, "resize": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resizes the specified regional persistent disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/resize", "httpMethod": "POST", @@ -27525,7 +27525,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", "httpMethod": "POST", @@ -27571,7 +27571,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on the target regional disk.", "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setLabels", "httpMethod": "POST", @@ -27622,7 +27622,7 @@ ] }, "startAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Starts asynchronous replication.\nMust be invoked on the primary disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication", "httpMethod": "POST", @@ -27673,7 +27673,7 @@ ] }, "stopAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication", "httpMethod": "POST", @@ -27721,7 +27721,7 @@ ] }, "stopGroupAsyncReplication": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", "flatPath": "projects/{project}/regions/{region}/disks/stopGroupAsyncReplication", "httpMethod": "POST", @@ -27764,7 +27764,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -27811,7 +27811,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}", "httpMethod": "PATCH", @@ -27873,7 +27873,7 @@ ] }, "updateKmsKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Rotates the customer-managed\nencryption key to the latest version for the specified persistent disk.", "flatPath": "projects/{project}/regions/{region}/disks/{disk}/updateKmsKey", "httpMethod": "POST", @@ -27927,7 +27927,7 @@ "regionHealthAggregationPolicies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/healthAggregationPolicies", "httpMethod": "GET", @@ -27989,7 +27989,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HealthAggregationPolicy in the given region.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", "httpMethod": "DELETE", @@ -28037,7 +28037,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HealthAggregationPolicy resource in the given region.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", "httpMethod": "GET", @@ -28081,7 +28081,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies", "httpMethod": "POST", @@ -28124,7 +28124,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the HealthAggregationPolicies for a project in the given region.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies", "httpMethod": "GET", @@ -28183,7 +28183,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", "httpMethod": "PATCH", @@ -28233,7 +28233,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -28284,7 +28284,7 @@ "regionHealthCheckServices": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all HealthCheckService resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/healthCheckServices", "httpMethod": "GET", @@ -28346,7 +28346,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified regional HealthCheckService.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", "httpMethod": "DELETE", @@ -28393,7 +28393,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified regional HealthCheckService resource.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", "httpMethod": "GET", @@ -28436,7 +28436,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices", "httpMethod": "POST", @@ -28479,7 +28479,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices", "httpMethod": "GET", @@ -28538,7 +28538,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", "httpMethod": "PATCH", @@ -28588,7 +28588,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions", "httpMethod": "POST", @@ -28639,7 +28639,7 @@ "regionHealthChecks": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HealthCheck resource.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", "httpMethod": "DELETE", @@ -28687,7 +28687,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HealthCheck resource.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", "httpMethod": "GET", @@ -28731,7 +28731,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/healthChecks", "httpMethod": "POST", @@ -28774,7 +28774,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of HealthCheck resources available to the specified\nproject.", "flatPath": "projects/{project}/regions/{region}/healthChecks", "httpMethod": "GET", @@ -28833,7 +28833,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", "httpMethod": "PATCH", @@ -28884,7 +28884,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -28931,7 +28931,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", "httpMethod": "PUT", @@ -28986,7 +28986,7 @@ "regionHealthSources": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/healthSources", "httpMethod": "GET", @@ -29048,7 +29048,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified HealthSource in the given region", "flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", "httpMethod": "DELETE", @@ -29096,7 +29096,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified HealthSource resource in the given region.", "flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", "httpMethod": "GET", @@ -29140,7 +29140,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the most recent health check results for this\nregional HealthSource.", "flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}/getHealth", "httpMethod": "GET", @@ -29184,7 +29184,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/healthSources", "httpMethod": "POST", @@ -29227,7 +29227,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the HealthSources for a project in the given region.", "flatPath": "projects/{project}/regions/{region}/healthSources", "httpMethod": "GET", @@ -29286,7 +29286,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", "httpMethod": "PATCH", @@ -29336,7 +29336,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/healthSources/{resource}/testIamPermissions", "httpMethod": "POST", @@ -29387,7 +29387,7 @@ "regionInstanceGroupManagerResizeRequests": { "methods": { "cancel": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Cancels the specified resize request.\nCancelled resize request no longer waits for the resources to be\nprovisioned. Cancel is only possible for requests that are in accepted\nstate.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", "httpMethod": "POST", @@ -29440,7 +29440,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", "httpMethod": "DELETE", @@ -29493,7 +29493,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns all of the details about the specified resize request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", "httpMethod": "GET", @@ -29542,7 +29542,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new Resize Request that starts provisioning VMs immediately\nor queues VM creation.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", "httpMethod": "POST", @@ -29591,7 +29591,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Resize Requests that are contained in the\nmanaged instance group.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", "httpMethod": "GET", @@ -29660,7 +29660,7 @@ "regionInstanceGroupManagers": { "methods": { "abandonInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", "httpMethod": "POST", @@ -29709,7 +29709,7 @@ ] }, "applyUpdatesToInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Apply updates to selected instances the managed instance group.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", "httpMethod": "POST", @@ -29753,7 +29753,7 @@ ] }, "createInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", "httpMethod": "POST", @@ -29802,7 +29802,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified managed instance group and all of the instances\nin that group.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "DELETE", @@ -29854,7 +29854,7 @@ ] }, "deleteInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", "httpMethod": "POST", @@ -29909,7 +29909,7 @@ ] }, "deletePerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes selected per-instance configurations for the managed instance\ngroup.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", "httpMethod": "POST", @@ -29953,7 +29953,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns all of the details about the specified managed instance group.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "GET", @@ -29995,7 +29995,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", "httpMethod": "POST", @@ -30037,7 +30037,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of managed instance groups that are contained\nwithin the specified region.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", "httpMethod": "GET", @@ -30095,7 +30095,7 @@ ] }, "listErrors": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", "httpMethod": "GET", @@ -30160,7 +30160,7 @@ ] }, "listManagedInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", "httpMethod": "POST", @@ -30225,7 +30225,7 @@ ] }, "listPerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", "httpMethod": "POST", @@ -30290,7 +30290,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "PATCH", @@ -30339,7 +30339,7 @@ ] }, "patchPerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", "httpMethod": "POST", @@ -30388,7 +30388,7 @@ ] }, "recreateInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", "httpMethod": "POST", @@ -30443,7 +30443,7 @@ ] }, "resize": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", "httpMethod": "POST", @@ -30498,7 +30498,7 @@ ] }, "resumeInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", "httpMethod": "POST", @@ -30547,7 +30547,7 @@ ] }, "setInstanceTemplate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", "httpMethod": "POST", @@ -30596,7 +30596,7 @@ ] }, "setTargetPools": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", "httpMethod": "POST", @@ -30645,7 +30645,7 @@ ] }, "startInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances", "httpMethod": "POST", @@ -30694,7 +30694,7 @@ ] }, "stopInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances", "httpMethod": "POST", @@ -30749,7 +30749,7 @@ ] }, "suspendInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", "httpMethod": "POST", @@ -30798,7 +30798,7 @@ ] }, "updatePerInstanceConfigs": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", "httpMethod": "POST", @@ -30851,7 +30851,7 @@ "regionInstanceGroups": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified instance group resource.", "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", "httpMethod": "GET", @@ -30893,7 +30893,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of instance group resources contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/instanceGroups", "httpMethod": "GET", @@ -30951,7 +30951,7 @@ ] }, "listInstances": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", "httpMethod": "POST", @@ -31019,7 +31019,7 @@ ] }, "setNamedPorts": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the named ports for the specified regional instance group.", "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", "httpMethod": "POST", @@ -31068,7 +31068,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -31119,7 +31119,7 @@ "regionInstanceTemplates": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", "flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", "httpMethod": "DELETE", @@ -31167,7 +31167,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified instance template.", "flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", "httpMethod": "GET", @@ -31211,7 +31211,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", "flatPath": "projects/{project}/regions/{region}/instanceTemplates", "httpMethod": "POST", @@ -31254,7 +31254,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of instance templates that are contained within the\nspecified project and region.", "flatPath": "projects/{project}/regions/{region}/instanceTemplates", "httpMethod": "GET", @@ -31317,7 +31317,7 @@ "regionInstances": { "methods": { "bulkInsert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates multiple instances in a given region. Count specifies the number of\ninstances to create.", "flatPath": "projects/{project}/regions/{region}/instances/bulkInsert", "httpMethod": "POST", @@ -31364,7 +31364,7 @@ "regionInstantSnapshotGroups": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "deletes a Regional InstantSnapshotGroup resource", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", "httpMethod": "DELETE", @@ -31412,7 +31412,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "returns the specified InstantSnapshotGroup resource in the specified\nregion.", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", "httpMethod": "GET", @@ -31456,7 +31456,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/getIamPolicy", "httpMethod": "GET", @@ -31506,7 +31506,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "creates a Regional InstantSnapshotGroup resource", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups", "httpMethod": "POST", @@ -31554,7 +31554,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "retrieves the list of InstantSnapshotGroup resources contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups", "httpMethod": "GET", @@ -31613,7 +31613,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/setIamPolicy", "httpMethod": "POST", @@ -31659,7 +31659,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/testIamPermissions", "httpMethod": "POST", @@ -31710,7 +31710,7 @@ "regionInstantSnapshots": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", "httpMethod": "DELETE", @@ -31758,7 +31758,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified InstantSnapshot resource in the specified region.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", "httpMethod": "GET", @@ -31802,7 +31802,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy", "httpMethod": "GET", @@ -31852,7 +31852,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates an instant snapshot in the specified region.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots", "httpMethod": "POST", @@ -31895,7 +31895,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of InstantSnapshot resources contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots", "httpMethod": "GET", @@ -31954,7 +31954,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy", "httpMethod": "POST", @@ -32000,7 +32000,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels", "httpMethod": "POST", @@ -32051,7 +32051,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions", "httpMethod": "POST", @@ -32102,7 +32102,7 @@ "regionNetworkEndpointGroups": { "methods": { "attachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Attach a list of network endpoints to the specified network endpoint group.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", "httpMethod": "POST", @@ -32151,7 +32151,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "DELETE", @@ -32197,7 +32197,7 @@ ] }, "detachNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Detach the network endpoint from the specified network endpoint group.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", "httpMethod": "POST", @@ -32246,7 +32246,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network endpoint group.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", "httpMethod": "GET", @@ -32288,7 +32288,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", "httpMethod": "POST", @@ -32330,7 +32330,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", "httpMethod": "GET", @@ -32388,7 +32388,7 @@ ] }, "listNetworkEndpoints": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the network endpoints in the specified network endpoint group.", "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", "httpMethod": "POST", @@ -32457,7 +32457,7 @@ "regionNetworkFirewallPolicies": { "methods": { "addAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts an association for the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", "httpMethod": "POST", @@ -32519,7 +32519,7 @@ ] }, "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", "httpMethod": "POST", @@ -32582,7 +32582,7 @@ ] }, "cloneRules": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Copies rules to the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", "httpMethod": "POST", @@ -32635,7 +32635,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", "httpMethod": "DELETE", @@ -32683,7 +32683,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", "httpMethod": "GET", @@ -32727,7 +32727,7 @@ ] }, "getAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets an association with the specified name.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", "httpMethod": "GET", @@ -32776,7 +32776,7 @@ ] }, "getEffectiveFirewalls": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the effective firewalls on a given network.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", "httpMethod": "GET", @@ -32819,7 +32819,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", "httpMethod": "GET", @@ -32869,7 +32869,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule of the specified priority.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", "httpMethod": "GET", @@ -32919,7 +32919,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new network firewall policy in the specified project and region.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies", "httpMethod": "POST", @@ -32962,7 +32962,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the network firewall policies that have been configured\nfor the specified project in the given region.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies", "httpMethod": "GET", @@ -33021,7 +33021,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", "httpMethod": "PATCH", @@ -33072,7 +33072,7 @@ ] }, "patchAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates an association for the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation", "httpMethod": "POST", @@ -33123,7 +33123,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule of the specified priority.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", "httpMethod": "POST", @@ -33180,7 +33180,7 @@ ] }, "removeAssociation": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes an association for the specified network firewall policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", "httpMethod": "POST", @@ -33233,7 +33233,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule of the specified priority.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", "httpMethod": "POST", @@ -33287,7 +33287,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", "httpMethod": "POST", @@ -33333,7 +33333,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -33384,7 +33384,7 @@ "regionNotificationEndpoints": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all NotificationEndpoint resources,\nregional and global, available to the specified project.", "flatPath": "projects/{project}/aggregated/notificationEndpoints", "httpMethod": "GET", @@ -33446,7 +33446,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified NotificationEndpoint in the given region", "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", "httpMethod": "DELETE", @@ -33494,7 +33494,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified NotificationEndpoint resource in the given region.", "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", "httpMethod": "GET", @@ -33538,7 +33538,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", "httpMethod": "POST", @@ -33581,7 +33581,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the NotificationEndpoints for a project in the given region.", "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", "httpMethod": "GET", @@ -33640,7 +33640,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions", "httpMethod": "POST", @@ -33691,7 +33691,7 @@ "regionOperations": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified region-specific Operations resource.", "flatPath": "projects/{project}/regions/{region}/operations/{operation}", "httpMethod": "DELETE", @@ -33731,7 +33731,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the specified region-specific Operations resource.", "flatPath": "projects/{project}/regions/{region}/operations/{operation}", "httpMethod": "GET", @@ -33775,7 +33775,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Operation resources contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/operations", "httpMethod": "GET", @@ -33834,7 +33834,7 @@ ] }, "wait": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", "flatPath": "projects/{project}/regions/{region}/operations/{operation}/wait", "httpMethod": "POST", @@ -33882,7 +33882,7 @@ "regionSecurityPolicies": { "methods": { "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a security policy.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", "httpMethod": "POST", @@ -33933,7 +33933,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified policy.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", "httpMethod": "DELETE", @@ -33981,7 +33981,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all of the ordered rules present in a single specified policy.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", "httpMethod": "GET", @@ -34025,7 +34025,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule at the specified priority.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", "httpMethod": "GET", @@ -34075,7 +34075,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified project using the data included in\nthe request.", "flatPath": "projects/{project}/regions/{region}/securityPolicies", "httpMethod": "POST", @@ -34123,7 +34123,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all the policies that have been configured for the specified project\nand region.", "flatPath": "projects/{project}/regions/{region}/securityPolicies", "httpMethod": "GET", @@ -34182,7 +34182,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", "httpMethod": "PATCH", @@ -34239,7 +34239,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", "httpMethod": "POST", @@ -34302,7 +34302,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule at the specified priority.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", "httpMethod": "POST", @@ -34351,7 +34351,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels", "httpMethod": "POST", @@ -34406,7 +34406,7 @@ "regionSnapshotSettings": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Get region snapshot settings.", "flatPath": "projects/{project}/regions/{region}/snapshotSettings", "httpMethod": "GET", @@ -34442,7 +34442,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patch region snapshot settings.", "flatPath": "projects/{project}/regions/{region}/snapshotSettings", "httpMethod": "PATCH", @@ -34495,7 +34495,7 @@ "regionSnapshots": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", "flatPath": "projects/{project}/regions/{region}/snapshots/{snapshot}", "httpMethod": "DELETE", @@ -34543,7 +34543,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Snapshot resource.", "flatPath": "projects/{project}/regions/{region}/snapshots/{snapshot}", "httpMethod": "GET", @@ -34587,7 +34587,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/getIamPolicy", "httpMethod": "GET", @@ -34637,7 +34637,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a snapshot in the specified region using the data included\nin the request.", "flatPath": "projects/{project}/regions/{region}/snapshots", "httpMethod": "POST", @@ -34680,7 +34680,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Snapshot resources contained within\nthe specified region.", "flatPath": "projects/{project}/regions/{region}/snapshots", "httpMethod": "GET", @@ -34739,7 +34739,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/setIamPolicy", "httpMethod": "POST", @@ -34785,7 +34785,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a regional snapshot. To learn more about labels, read\nthe Labeling Resources\ndocumentation.", "flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/setLabels", "httpMethod": "POST", @@ -34836,7 +34836,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/testIamPermissions", "httpMethod": "POST", @@ -34883,7 +34883,7 @@ ] }, "updateKmsKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Rotates the customer-managed\nencryption key to the latest version for the specified snapshot.", "flatPath": "projects/{project}/regions/{region}/snapshots/{snapshot}/updateKmsKey", "httpMethod": "POST", @@ -34938,7 +34938,7 @@ "regionSslCertificates": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified SslCertificate resource in the region.", "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", "httpMethod": "DELETE", @@ -34986,7 +34986,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", "httpMethod": "GET", @@ -35030,7 +35030,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a SslCertificate resource in the specified project and region using\nthe data included in the request", "flatPath": "projects/{project}/regions/{region}/sslCertificates", "httpMethod": "POST", @@ -35073,7 +35073,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", "flatPath": "projects/{project}/regions/{region}/sslCertificates", "httpMethod": "GET", @@ -35136,7 +35136,7 @@ "regionSslPolicies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", "httpMethod": "DELETE", @@ -35183,7 +35183,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all of the ordered rules present in a single specified policy.", "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", "httpMethod": "GET", @@ -35225,8 +35225,58 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, +"getIamPolicy": { +"apiVersion": "2026-11-01", +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionSslPolicies.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified project and region using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/sslPolicies", "httpMethod": "POST", @@ -35269,7 +35319,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the SSL policies that have been configured for the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/sslPolicies", "httpMethod": "GET", @@ -35328,7 +35378,7 @@ ] }, "listAvailableFeatures": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all features that can be specified in the SSL policy when using\ncustom profile.", "flatPath": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", "httpMethod": "GET", @@ -35387,7 +35437,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified SSL policy with the data included in the request.", "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", "httpMethod": "PATCH", @@ -35435,13 +35485,106 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] +}, +"setIamPolicy": { +"apiVersion": "2026-11-01", +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionSslPolicies.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"apiVersion": "2026-11-01", +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionSslPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] } } }, "regionTargetHttpProxies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetHttpProxy resource.", "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", "httpMethod": "DELETE", @@ -35489,7 +35632,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetHttpProxy resource in the specified region.", "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", "httpMethod": "GET", @@ -35533,7 +35676,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", "flatPath": "projects/{project}/regions/{region}/targetHttpProxies", "httpMethod": "POST", @@ -35576,7 +35719,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", "flatPath": "projects/{project}/regions/{region}/targetHttpProxies", "httpMethod": "GET", @@ -35635,7 +35778,7 @@ ] }, "setUrlMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the URL map for TargetHttpProxy.", "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", "httpMethod": "POST", @@ -35690,7 +35833,7 @@ "regionTargetHttpsProxies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetHttpsProxy resource.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "DELETE", @@ -35738,7 +35881,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetHttpsProxy resource in the specified region.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "GET", @@ -35782,7 +35925,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", "httpMethod": "POST", @@ -35825,7 +35968,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", "httpMethod": "GET", @@ -35884,7 +36027,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "PATCH", @@ -35935,7 +36078,7 @@ ] }, "setSslCertificates": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Replaces SslCertificates for TargetHttpsProxy.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", "httpMethod": "POST", @@ -35986,7 +36129,7 @@ ] }, "setUrlMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the URL map for TargetHttpsProxy.", "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", "httpMethod": "POST", @@ -36041,7 +36184,7 @@ "regionTargetTcpProxies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetTcpProxy resource.", "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", "httpMethod": "DELETE", @@ -36089,7 +36232,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetTcpProxy resource.", "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", "httpMethod": "GET", @@ -36133,7 +36276,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", "httpMethod": "POST", @@ -36176,7 +36319,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", "httpMethod": "GET", @@ -36239,7 +36382,7 @@ "regionUrlMaps": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified UrlMap resource.", "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", "httpMethod": "DELETE", @@ -36287,7 +36430,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified UrlMap resource.", "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", "httpMethod": "GET", @@ -36331,7 +36474,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a UrlMap resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/urlMaps", "httpMethod": "POST", @@ -36374,7 +36517,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", "flatPath": "projects/{project}/regions/{region}/urlMaps", "httpMethod": "GET", @@ -36433,7 +36576,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", "httpMethod": "PATCH", @@ -36484,7 +36627,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified UrlMap resource with the data included in the\nrequest.", "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", "httpMethod": "PUT", @@ -36535,7 +36678,7 @@ ] }, "validate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", "httpMethod": "POST", @@ -36585,7 +36728,7 @@ "regionZones": { "methods": { "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Zone resources under the specific region available to\nthe specified project.", "flatPath": "projects/{project}/regions/{region}/zones", "httpMethod": "GET", @@ -36648,7 +36791,7 @@ "regions": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", @@ -36684,7 +36827,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", "flatPath": "projects/{project}/regions", "httpMethod": "GET", @@ -36739,7 +36882,7 @@ "reliabilityRisks": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified ReliabilityRisk resource.", "flatPath": "projects/{project}/global/reliabilityRisks/{reliabilityRisk}", "httpMethod": "GET", @@ -36775,7 +36918,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of reliabilityRisks available in the specified project.", "flatPath": "projects/{project}/global/reliabilityRisks", "httpMethod": "GET", @@ -36830,7 +36973,7 @@ "reservationBlocks": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified reservation block.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}", "httpMethod": "GET", @@ -36893,7 +37036,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", "httpMethod": "GET", @@ -36951,7 +37094,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of reservation blocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", "httpMethod": "GET", @@ -37015,7 +37158,7 @@ ] }, "performMaintenance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to perform maintenance on a reservation block", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance", "httpMethod": "POST", @@ -37070,7 +37213,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", "httpMethod": "POST", @@ -37124,7 +37267,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -37183,7 +37326,7 @@ "reservationSlots": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified reservation slot.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}", "httpMethod": "GET", @@ -37232,7 +37375,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Get health info on a reservation slot.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}/getHealth", "httpMethod": "POST", @@ -37285,7 +37428,7 @@ ] }, "getVersion": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to get SBOM versions of a reservation slot.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}/getVersion", "httpMethod": "POST", @@ -37341,7 +37484,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of reservation slots under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots", "httpMethod": "GET", @@ -37406,7 +37549,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Update a reservation slot in the specified sub-block.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}", "httpMethod": "POST", @@ -37467,7 +37610,7 @@ "reservationSubBlocks": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified reservation subBlock.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}", "httpMethod": "GET", @@ -37531,7 +37674,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/getIamPolicy", "httpMethod": "GET", @@ -37589,7 +37732,7 @@ ] }, "getVersion": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to get SBOM versions of a reservation subBlock.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}/getVersion", "httpMethod": "POST", @@ -37645,7 +37788,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of reservation subBlocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks", "httpMethod": "GET", @@ -37710,7 +37853,7 @@ ] }, "performMaintenance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to perform maintenance on a reservation subBlock", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}/performMaintenance", "httpMethod": "POST", @@ -37763,7 +37906,7 @@ ] }, "reportFaulty": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Allows customers to report a faulty subBlock.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}/reportFaulty", "httpMethod": "POST", @@ -37819,7 +37962,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/setIamPolicy", "httpMethod": "POST", @@ -37873,7 +38016,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -37932,7 +38075,7 @@ "reservations": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/reservations", "httpMethod": "GET", @@ -37994,7 +38137,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", "httpMethod": "DELETE", @@ -38042,7 +38185,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves information about the specified reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", "httpMethod": "GET", @@ -38086,7 +38229,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", "httpMethod": "GET", @@ -38136,7 +38279,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new reservation. For more information, readReserving zonal\nresources.", "flatPath": "projects/{project}/zones/{zone}/reservations", "httpMethod": "POST", @@ -38179,7 +38322,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "A list of all the reservations that have been configured for the\nspecified project in specified zone.", "flatPath": "projects/{project}/zones/{zone}/reservations", "httpMethod": "GET", @@ -38238,7 +38381,7 @@ ] }, "performMaintenance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Perform maintenance on an extended reservation", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance", "httpMethod": "POST", @@ -38287,7 +38430,7 @@ ] }, "resize": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", "httpMethod": "POST", @@ -38338,7 +38481,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", "httpMethod": "POST", @@ -38384,7 +38527,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", "httpMethod": "POST", @@ -38431,7 +38574,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Update share settings of the reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", "httpMethod": "PATCH", @@ -38497,7 +38640,7 @@ "resourcePolicies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/resourcePolicies", "httpMethod": "GET", @@ -38559,7 +38702,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified resource policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", "httpMethod": "DELETE", @@ -38607,7 +38750,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves all information of the specified resource policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", "httpMethod": "GET", @@ -38651,7 +38794,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", "httpMethod": "GET", @@ -38701,7 +38844,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new resource policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies", "httpMethod": "POST", @@ -38744,7 +38887,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "A list all the resource policies that have been configured for the\nspecified project in specified region.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies", "httpMethod": "GET", @@ -38803,7 +38946,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Modify the specified resource policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", "httpMethod": "PATCH", @@ -38860,7 +39003,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", "httpMethod": "POST", @@ -38906,7 +39049,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -38957,7 +39100,7 @@ "rolloutPlans": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a RolloutPlan.", "flatPath": "projects/{project}/global/rolloutPlans/{rolloutPlan}", "httpMethod": "DELETE", @@ -38997,7 +39140,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets details of a single project-scoped RolloutPlan.", "flatPath": "projects/{project}/global/rolloutPlans/{rolloutPlan}", "httpMethod": "GET", @@ -39033,7 +39176,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new RolloutPlan in a given project and location.", "flatPath": "projects/{project}/global/rolloutPlans", "httpMethod": "POST", @@ -39068,7 +39211,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists RolloutPlans in a given project and location.", "flatPath": "projects/{project}/global/rolloutPlans", "httpMethod": "GET", @@ -39123,7 +39266,7 @@ "rollouts": { "methods": { "advance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Advances a Rollout to the next wave, or completes it if no waves remain.", "flatPath": "projects/{project}/global/rollouts/{rollout}/advance", "httpMethod": "POST", @@ -39169,7 +39312,7 @@ ] }, "cancel": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Cancels a Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}", "httpMethod": "PATCH", @@ -39214,7 +39357,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}", "httpMethod": "DELETE", @@ -39254,7 +39397,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets details of a single project-scoped Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}", "httpMethod": "GET", @@ -39290,7 +39433,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists Rollouts in a given project and location.", "flatPath": "projects/{project}/global/rollouts", "httpMethod": "GET", @@ -39341,7 +39484,7 @@ ] }, "pause": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Pauses a Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}/pause", "httpMethod": "POST", @@ -39386,7 +39529,7 @@ ] }, "resume": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Resumes a Rollout.", "flatPath": "projects/{project}/global/rollouts/{rollout}/resume", "httpMethod": "POST", @@ -39435,7 +39578,7 @@ "routers": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/routers", "httpMethod": "GET", @@ -39497,7 +39640,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Router resource.", "flatPath": "projects/{project}/regions/{region}/routers/{router}", "httpMethod": "DELETE", @@ -39545,7 +39688,7 @@ ] }, "deleteNamedSet": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes Named Set", "flatPath": "projects/{project}/regions/{region}/routers/{router}/deleteNamedSet", "httpMethod": "POST", @@ -39598,7 +39741,7 @@ ] }, "deleteRoutePolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes Route Policy", "flatPath": "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy", "httpMethod": "POST", @@ -39651,7 +39794,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Router resource.", "flatPath": "projects/{project}/regions/{region}/routers/{router}", "httpMethod": "GET", @@ -39695,7 +39838,7 @@ ] }, "getNamedSet": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns specified Named Set", "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNamedSet", "httpMethod": "GET", @@ -39743,7 +39886,7 @@ ] }, "getNatIpInfo": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves runtime NAT IP information.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", "httpMethod": "GET", @@ -39791,7 +39934,7 @@ ] }, "getNatMappingInfo": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves runtime Nat mapping information of VM endpoints.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", "httpMethod": "GET", @@ -39863,7 +40006,7 @@ ] }, "getRoutePolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns specified Route Policy", "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy", "httpMethod": "GET", @@ -39911,7 +40054,7 @@ ] }, "getRouterStatus": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves runtime information of the specified router.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", "httpMethod": "GET", @@ -39955,7 +40098,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a Router resource in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/routers", "httpMethod": "POST", @@ -39998,7 +40141,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Router resources available to the specified project.", "flatPath": "projects/{project}/regions/{region}/routers", "httpMethod": "GET", @@ -40057,7 +40200,7 @@ ] }, "listBgpRoutes": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of router bgp routes available to the specified project.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes", "httpMethod": "GET", @@ -40172,7 +40315,7 @@ ] }, "listNamedSets": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of router named set subresources available to the\nspecified project.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/listNamedSets", "httpMethod": "GET", @@ -40239,7 +40382,7 @@ ] }, "listRoutePolicies": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of router route policy subresources available to the\nspecified project.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies", "httpMethod": "GET", @@ -40306,7 +40449,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/routers/{router}", "httpMethod": "PATCH", @@ -40357,7 +40500,7 @@ ] }, "patchNamedSet": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches Named Set", "flatPath": "projects/{project}/regions/{region}/routers/{router}/patchNamedSet", "httpMethod": "POST", @@ -40408,7 +40551,7 @@ ] }, "patchRoutePolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches Route Policy", "flatPath": "projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy", "httpMethod": "POST", @@ -40459,7 +40602,7 @@ ] }, "preview": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", "flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", "httpMethod": "POST", @@ -40506,7 +40649,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", "flatPath": "projects/{project}/regions/{region}/routers/{router}", "httpMethod": "PUT", @@ -40557,7 +40700,7 @@ ] }, "updateNamedSet": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates or creates new Named Set", "flatPath": "projects/{project}/regions/{region}/routers/{router}/updateNamedSet", "httpMethod": "POST", @@ -40608,7 +40751,7 @@ ] }, "updateRoutePolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates or creates new Route Policy", "flatPath": "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy", "httpMethod": "POST", @@ -40663,7 +40806,7 @@ "routes": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Route resource.", "flatPath": "projects/{project}/global/routes/{route}", "httpMethod": "DELETE", @@ -40703,7 +40846,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Route resource.", "flatPath": "projects/{project}/global/routes/{route}", "httpMethod": "GET", @@ -40739,7 +40882,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a Route resource in the specified project using the data included\nin the request.", "flatPath": "projects/{project}/global/routes", "httpMethod": "POST", @@ -40774,7 +40917,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Route resources available to the specified project.", "flatPath": "projects/{project}/global/routes", "httpMethod": "GET", @@ -40825,7 +40968,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/routes/{resource}/testIamPermissions", "httpMethod": "POST", @@ -40868,7 +41011,7 @@ "securityPolicies": { "methods": { "addRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Inserts a rule into a security policy.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", "httpMethod": "POST", @@ -40911,7 +41054,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/securityPolicies", "httpMethod": "GET", @@ -40973,7 +41116,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified policy.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", "httpMethod": "DELETE", @@ -41013,7 +41156,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all of the ordered rules present in a single specified policy.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", "httpMethod": "GET", @@ -41049,7 +41192,7 @@ ] }, "getRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets a rule at the specified priority.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", "httpMethod": "GET", @@ -41091,7 +41234,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new policy in the specified project using the data included in\nthe request.", "flatPath": "projects/{project}/global/securityPolicies", "httpMethod": "POST", @@ -41131,7 +41274,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "List all the policies that have been configured for the specified project.", "flatPath": "projects/{project}/global/securityPolicies", "httpMethod": "GET", @@ -41182,7 +41325,7 @@ ] }, "listPreconfiguredExpressionSets": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", "flatPath": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", "httpMethod": "GET", @@ -41233,7 +41376,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", "httpMethod": "PATCH", @@ -41282,7 +41425,7 @@ ] }, "patchRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", "httpMethod": "POST", @@ -41337,7 +41480,7 @@ ] }, "removeRule": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a rule at the specified priority.", "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", "httpMethod": "POST", @@ -41378,7 +41521,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", "flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", "httpMethod": "POST", @@ -41420,7 +41563,7 @@ "serviceAttachments": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/serviceAttachments", "httpMethod": "GET", @@ -41482,7 +41625,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified ServiceAttachment in the given scope", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", "httpMethod": "DELETE", @@ -41530,7 +41673,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified ServiceAttachment resource in the given scope.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", "httpMethod": "GET", @@ -41579,7 +41722,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", "httpMethod": "GET", @@ -41629,7 +41772,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments", "httpMethod": "POST", @@ -41672,7 +41815,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the ServiceAttachments for a project in the given scope.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments", "httpMethod": "GET", @@ -41731,7 +41874,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", "httpMethod": "PATCH", @@ -41780,7 +41923,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", "httpMethod": "POST", @@ -41826,7 +41969,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", "httpMethod": "POST", @@ -41877,7 +42020,7 @@ "snapshotSettings": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Get snapshot settings.", "flatPath": "projects/{project}/global/snapshotSettings", "httpMethod": "GET", @@ -41905,7 +42048,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patch snapshot settings.", "flatPath": "projects/{project}/global/snapshotSettings", "httpMethod": "PATCH", @@ -41950,7 +42093,7 @@ "snapshots": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", "flatPath": "projects/{project}/global/snapshots/{snapshot}", "httpMethod": "DELETE", @@ -41990,7 +42133,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Snapshot resource.", "flatPath": "projects/{project}/global/snapshots/{snapshot}", "httpMethod": "GET", @@ -42026,7 +42169,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/global/snapshots/{resource}/getIamPolicy", "httpMethod": "GET", @@ -42068,7 +42211,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", "flatPath": "projects/{project}/global/snapshots", "httpMethod": "POST", @@ -42103,7 +42246,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Snapshot resources contained within\nthe specified project.", "flatPath": "projects/{project}/global/snapshots", "httpMethod": "GET", @@ -42154,7 +42297,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/global/snapshots/{resource}/setIamPolicy", "httpMethod": "POST", @@ -42192,7 +42335,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/global/snapshots/{resource}/setLabels", "httpMethod": "POST", @@ -42230,7 +42373,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/snapshots/{resource}/testIamPermissions", "httpMethod": "POST", @@ -42269,7 +42412,7 @@ ] }, "updateKmsKey": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Rotates the customer-managed\nencryption key to the latest version for the specified snapshot.", "flatPath": "projects/{project}/global/snapshots/{snapshot}/updateKmsKey", "httpMethod": "POST", @@ -42316,7 +42459,7 @@ "sslCertificates": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/sslCertificates", "httpMethod": "GET", @@ -42378,7 +42521,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified SslCertificate resource.", "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", "httpMethod": "DELETE", @@ -42418,7 +42561,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified SslCertificate resource.", "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", "httpMethod": "GET", @@ -42454,7 +42597,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a SslCertificate resource in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/global/sslCertificates", "httpMethod": "POST", @@ -42489,7 +42632,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of SslCertificate resources available to the specified\nproject.", "flatPath": "projects/{project}/global/sslCertificates", "httpMethod": "GET", @@ -42544,7 +42687,7 @@ "sslPolicies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/sslPolicies", "httpMethod": "GET", @@ -42606,7 +42749,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", "httpMethod": "DELETE", @@ -42645,7 +42788,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all of the ordered rules present in a single specified policy.", "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", "httpMethod": "GET", @@ -42679,8 +42822,50 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, +"getIamPolicy": { +"apiVersion": "2026-11-01", +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/sslPolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.sslPolicies.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified SSL policy resource.", "flatPath": "projects/{project}/global/sslPolicies", "httpMethod": "POST", @@ -42715,7 +42900,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all the SSL policies that have been configured for the specified\nproject.", "flatPath": "projects/{project}/global/sslPolicies", "httpMethod": "GET", @@ -42766,7 +42951,7 @@ ] }, "listAvailableFeatures": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all features that can be specified in the SSL policy when using\ncustom profile.", "flatPath": "projects/{project}/global/sslPolicies/listAvailableFeatures", "httpMethod": "GET", @@ -42817,7 +43002,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified SSL policy with the data included in the request.", "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", "httpMethod": "PATCH", @@ -42857,13 +43042,90 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] +}, +"setIamPolicy": { +"apiVersion": "2026-11-01", +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/sslPolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.sslPolicies.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"apiVersion": "2026-11-01", +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/sslPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.sslPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] } } }, "storagePoolTypes": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/storagePoolTypes", "httpMethod": "GET", @@ -42925,7 +43187,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified storage pool type.", "flatPath": "projects/{project}/zones/{zone}/storagePoolTypes/{storagePoolType}", "httpMethod": "GET", @@ -42969,7 +43231,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of storage pool types available to the specified\nproject.", "flatPath": "projects/{project}/zones/{zone}/storagePoolTypes", "httpMethod": "GET", @@ -43032,7 +43294,7 @@ "storagePools": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/storagePools", "httpMethod": "GET", @@ -43094,7 +43356,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", "httpMethod": "DELETE", @@ -43142,7 +43404,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", "httpMethod": "GET", @@ -43186,7 +43448,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy", "httpMethod": "GET", @@ -43236,7 +43498,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a storage pool in the specified project using the data\nin the request.", "flatPath": "projects/{project}/zones/{zone}/storagePools", "httpMethod": "POST", @@ -43279,7 +43541,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of storage pools contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/storagePools", "httpMethod": "GET", @@ -43338,7 +43600,7 @@ ] }, "listDisks": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the disks in a specified storage pool.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks", "httpMethod": "GET", @@ -43405,7 +43667,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy", "httpMethod": "POST", @@ -43451,7 +43713,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions", "httpMethod": "POST", @@ -43498,7 +43760,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified:\npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", "flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", "httpMethod": "PATCH", @@ -43559,7 +43821,7 @@ "subnetworks": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/subnetworks", "httpMethod": "GET", @@ -43635,7 +43897,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified subnetwork.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", "httpMethod": "DELETE", @@ -43683,7 +43945,7 @@ ] }, "expandIpCidrRange": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Expands the IP CIDR range of the subnetwork to a specified value.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", "httpMethod": "POST", @@ -43734,7 +43996,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified subnetwork.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", "httpMethod": "GET", @@ -43792,7 +44054,7 @@ ] }, "getIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", "httpMethod": "GET", @@ -43842,7 +44104,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a subnetwork in the specified project using the data\nincluded in the request.", "flatPath": "projects/{project}/regions/{region}/subnetworks", "httpMethod": "POST", @@ -43885,7 +44147,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of subnetworks available to the specified\nproject.", "flatPath": "projects/{project}/regions/{region}/subnetworks", "httpMethod": "GET", @@ -43958,7 +44220,7 @@ ] }, "listUsable": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of all usable subnetworks in the project.", "flatPath": "projects/{project}/aggregated/subnetworks/listUsable", "httpMethod": "GET", @@ -44014,7 +44276,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", "httpMethod": "PATCH", @@ -44071,7 +44333,7 @@ ] }, "setIamPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", "httpMethod": "POST", @@ -44117,7 +44379,7 @@ ] }, "setPrivateIpGoogleAccess": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", "httpMethod": "POST", @@ -44168,7 +44430,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", "httpMethod": "POST", @@ -44219,7 +44481,7 @@ "targetGrpcProxies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetGrpcProxy in the given scope", "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", "httpMethod": "DELETE", @@ -44259,7 +44521,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetGrpcProxy resource in the given scope.", "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", "httpMethod": "GET", @@ -44295,7 +44557,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/global/targetGrpcProxies", "httpMethod": "POST", @@ -44330,7 +44592,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the TargetGrpcProxies for a project in the given scope.", "flatPath": "projects/{project}/global/targetGrpcProxies", "httpMethod": "GET", @@ -44381,7 +44643,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", "httpMethod": "PATCH", @@ -44428,7 +44690,7 @@ "targetHttpProxies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetHttpProxies", "httpMethod": "GET", @@ -44490,7 +44752,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetHttpProxy resource.", "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", "httpMethod": "DELETE", @@ -44530,7 +44792,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetHttpProxy resource.", "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", "httpMethod": "GET", @@ -44566,7 +44828,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", "flatPath": "projects/{project}/global/targetHttpProxies", "httpMethod": "POST", @@ -44601,7 +44863,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetHttpProxy resources available\nto the specified project.", "flatPath": "projects/{project}/global/targetHttpProxies", "httpMethod": "GET", @@ -44652,7 +44914,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", "httpMethod": "PATCH", @@ -44695,7 +44957,7 @@ ] }, "setUrlMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the URL map for TargetHttpProxy.", "flatPath": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", "httpMethod": "POST", @@ -44742,7 +45004,7 @@ "targetHttpsProxies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetHttpsProxies", "httpMethod": "GET", @@ -44804,7 +45066,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetHttpsProxy resource.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "DELETE", @@ -44844,7 +45106,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetHttpsProxy resource.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "GET", @@ -44880,7 +45142,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", "flatPath": "projects/{project}/global/targetHttpsProxies", "httpMethod": "POST", @@ -44915,7 +45177,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", "flatPath": "projects/{project}/global/targetHttpsProxies", "httpMethod": "GET", @@ -44966,7 +45228,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", "httpMethod": "PATCH", @@ -45009,7 +45271,7 @@ ] }, "setCertificateMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the Certificate Map for TargetHttpsProxy.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", "httpMethod": "POST", @@ -45051,7 +45313,7 @@ ] }, "setQuicOverride": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the QUIC override policy for TargetHttpsProxy.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", "httpMethod": "POST", @@ -45093,7 +45355,7 @@ ] }, "setSslCertificates": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Replaces SslCertificates for TargetHttpsProxy.", "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", "httpMethod": "POST", @@ -45136,7 +45398,7 @@ ] }, "setSslPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", "httpMethod": "POST", @@ -45178,7 +45440,7 @@ ] }, "setUrlMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the URL map for TargetHttpsProxy.", "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", "httpMethod": "POST", @@ -45225,7 +45487,7 @@ "targetInstances": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetInstances", "httpMethod": "GET", @@ -45287,7 +45549,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetInstance resource.", "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", "httpMethod": "DELETE", @@ -45335,7 +45597,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetInstance resource.", "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", "httpMethod": "GET", @@ -45379,7 +45641,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", "flatPath": "projects/{project}/zones/{zone}/targetInstances", "httpMethod": "POST", @@ -45422,7 +45684,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of TargetInstance resources available to the specified\nproject and zone.", "flatPath": "projects/{project}/zones/{zone}/targetInstances", "httpMethod": "GET", @@ -45481,7 +45743,7 @@ ] }, "setSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy", "httpMethod": "POST", @@ -45531,7 +45793,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions", "httpMethod": "POST", @@ -45582,7 +45844,7 @@ "targetPools": { "methods": { "addHealthCheck": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds health check URLs to a target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", "httpMethod": "POST", @@ -45633,7 +45895,7 @@ ] }, "addInstance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Adds an instance to a target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", "httpMethod": "POST", @@ -45684,7 +45946,7 @@ ] }, "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetPools", "httpMethod": "GET", @@ -45746,7 +46008,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", "httpMethod": "DELETE", @@ -45794,7 +46056,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", "httpMethod": "GET", @@ -45838,7 +46100,7 @@ ] }, "getHealth": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", "httpMethod": "POST", @@ -45885,7 +46147,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a target pool in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/targetPools", "httpMethod": "POST", @@ -45928,7 +46190,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of target pools available to the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/targetPools", "httpMethod": "GET", @@ -45987,7 +46249,7 @@ ] }, "removeHealthCheck": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes health check URL from a target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", "httpMethod": "POST", @@ -46038,7 +46300,7 @@ ] }, "removeInstance": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Removes instance URL from a target pool.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", "httpMethod": "POST", @@ -46089,7 +46351,7 @@ ] }, "setBackup": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes a backup target pool's configurations.", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", "httpMethod": "POST", @@ -46146,7 +46408,7 @@ ] }, "setSecurityPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy", "httpMethod": "POST", @@ -46196,7 +46458,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions", "httpMethod": "POST", @@ -46247,7 +46509,7 @@ "targetSslProxies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetSslProxy resource.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", "httpMethod": "DELETE", @@ -46287,7 +46549,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetSslProxy resource.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", "httpMethod": "GET", @@ -46323,7 +46585,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/targetSslProxies", "httpMethod": "POST", @@ -46358,7 +46620,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetSslProxy resources\navailable to the specified project.", "flatPath": "projects/{project}/global/targetSslProxies", "httpMethod": "GET", @@ -46409,7 +46671,7 @@ ] }, "setBackendService": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the BackendService for TargetSslProxy.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", "httpMethod": "POST", @@ -46452,7 +46714,7 @@ ] }, "setCertificateMap": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the Certificate Map for TargetSslProxy.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", "httpMethod": "POST", @@ -46494,7 +46756,7 @@ ] }, "setProxyHeader": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the ProxyHeaderType for TargetSslProxy.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", "httpMethod": "POST", @@ -46537,7 +46799,7 @@ ] }, "setSslCertificates": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes SslCertificates for TargetSslProxy.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", "httpMethod": "POST", @@ -46580,7 +46842,7 @@ ] }, "setSslPolicy": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", "httpMethod": "POST", @@ -46622,7 +46884,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/targetSslProxies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -46665,7 +46927,7 @@ "targetTcpProxies": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetTcpProxies", "httpMethod": "GET", @@ -46727,7 +46989,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified TargetTcpProxy resource.", "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", "httpMethod": "DELETE", @@ -46767,7 +47029,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified TargetTcpProxy resource.", "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", "httpMethod": "GET", @@ -46803,7 +47065,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/targetTcpProxies", "httpMethod": "POST", @@ -46838,7 +47100,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of TargetTcpProxy resources\navailable to the specified project.", "flatPath": "projects/{project}/global/targetTcpProxies", "httpMethod": "GET", @@ -46889,7 +47151,7 @@ ] }, "setBackendService": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the BackendService for TargetTcpProxy.", "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", "httpMethod": "POST", @@ -46932,7 +47194,7 @@ ] }, "setProxyHeader": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Changes the ProxyHeaderType for TargetTcpProxy.", "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", "httpMethod": "POST", @@ -46975,7 +47237,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions", "httpMethod": "POST", @@ -47018,7 +47280,7 @@ "targetVpnGateways": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetVpnGateways", "httpMethod": "GET", @@ -47080,7 +47342,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified target VPN gateway.", "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", "httpMethod": "DELETE", @@ -47128,7 +47390,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified target VPN gateway.", "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", "httpMethod": "GET", @@ -47172,7 +47434,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a target VPN gateway in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", "httpMethod": "POST", @@ -47215,7 +47477,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of target VPN gateways available to the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", "httpMethod": "GET", @@ -47274,7 +47536,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", "httpMethod": "POST", @@ -47329,7 +47591,7 @@ "urlMaps": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/urlMaps", "httpMethod": "GET", @@ -47391,7 +47653,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified UrlMap resource.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}", "httpMethod": "DELETE", @@ -47431,7 +47693,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified UrlMap resource.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}", "httpMethod": "GET", @@ -47467,7 +47729,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a UrlMap resource in the specified project using\nthe data included in the request.", "flatPath": "projects/{project}/global/urlMaps", "httpMethod": "POST", @@ -47502,7 +47764,7 @@ ] }, "invalidateCache": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", "flatPath": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", "httpMethod": "POST", @@ -47545,7 +47807,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of UrlMap resources available to the specified\nproject.", "flatPath": "projects/{project}/global/urlMaps", "httpMethod": "GET", @@ -47596,7 +47858,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}", "httpMethod": "PATCH", @@ -47639,7 +47901,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/global/urlMaps/{resource}/testIamPermissions", "httpMethod": "POST", @@ -47678,7 +47940,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified UrlMap resource with the data included in the\nrequest.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}", "httpMethod": "PUT", @@ -47721,7 +47983,7 @@ ] }, "validate": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", "flatPath": "projects/{project}/global/urlMaps/{urlMap}/validate", "httpMethod": "POST", @@ -47763,7 +48025,7 @@ "vpnGateways": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/vpnGateways", "httpMethod": "GET", @@ -47825,7 +48087,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified VPN gateway.", "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", "httpMethod": "DELETE", @@ -47873,7 +48135,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified VPN gateway.", "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", "httpMethod": "GET", @@ -47917,7 +48179,7 @@ ] }, "getStatus": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the status for the specified VPN gateway.", "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", "httpMethod": "GET", @@ -47961,7 +48223,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a VPN gateway in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/vpnGateways", "httpMethod": "POST", @@ -48004,7 +48266,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of VPN gateways available to the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/vpnGateways", "httpMethod": "GET", @@ -48063,7 +48325,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", "httpMethod": "POST", @@ -48114,7 +48376,7 @@ ] }, "testIamPermissions": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns permissions that a caller has on the specified resource.", "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", "httpMethod": "POST", @@ -48165,7 +48427,7 @@ "vpnTunnels": { "methods": { "aggregatedList": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/vpnTunnels", "httpMethod": "GET", @@ -48227,7 +48489,7 @@ ] }, "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified VpnTunnel resource.", "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", "httpMethod": "DELETE", @@ -48275,7 +48537,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified VpnTunnel resource.", "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", "httpMethod": "GET", @@ -48319,7 +48581,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", "flatPath": "projects/{project}/regions/{region}/vpnTunnels", "httpMethod": "POST", @@ -48362,7 +48624,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", "flatPath": "projects/{project}/regions/{region}/vpnTunnels", "httpMethod": "GET", @@ -48421,7 +48683,7 @@ ] }, "setLabels": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", "httpMethod": "POST", @@ -48476,7 +48738,7 @@ "wireGroups": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified wire group in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", "httpMethod": "DELETE", @@ -48521,7 +48783,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Gets the specified wire group resource in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", "httpMethod": "GET", @@ -48562,7 +48824,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", "httpMethod": "POST", @@ -48608,7 +48870,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists the wire groups for a project in the given scope.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", "httpMethod": "GET", @@ -48665,7 +48927,7 @@ ] }, "patch": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", "flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", "httpMethod": "PATCH", @@ -48728,7 +48990,7 @@ "zoneOperations": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes the specified zone-specific Operations resource.", "flatPath": "projects/{project}/zones/{zone}/operations/{operation}", "httpMethod": "DELETE", @@ -48768,7 +49030,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the specified zone-specific Operations resource.", "flatPath": "projects/{project}/zones/{zone}/operations/{operation}", "httpMethod": "GET", @@ -48812,7 +49074,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves a list of Operation resources contained within\nthe specified zone.", "flatPath": "projects/{project}/zones/{zone}/operations", "httpMethod": "GET", @@ -48871,7 +49133,7 @@ ] }, "wait": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", "flatPath": "projects/{project}/zones/{zone}/operations/{operation}/wait", "httpMethod": "POST", @@ -48919,7 +49181,7 @@ "zoneVmExtensionPolicies": { "methods": { "delete": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Deletes a specified zone VM extension policy within a project.", "flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", "httpMethod": "DELETE", @@ -48966,7 +49228,7 @@ ] }, "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves details of a specific zone VM extension policy within a project.", "flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", "httpMethod": "GET", @@ -49010,7 +49272,7 @@ ] }, "insert": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Creates a new zone-level VM extension policy within a project.", "flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies", "httpMethod": "POST", @@ -49053,7 +49315,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Lists all VM extension policies within a specific zone for a project.", "flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies", "httpMethod": "GET", @@ -49112,7 +49374,7 @@ ] }, "update": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Modifies an existing zone VM extension policy within a project.", "flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", "httpMethod": "PATCH", @@ -49166,7 +49428,7 @@ "zones": { "methods": { "get": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Returns the specified Zone resource.", "flatPath": "projects/{project}/zones/{zone}", "httpMethod": "GET", @@ -49202,7 +49464,7 @@ ] }, "list": { -"apiVersion": "2026-09-01", +"apiVersion": "2026-11-01", "description": "Retrieves the list of Zone resources available to the specified project.", "flatPath": "projects/{project}/zones", "httpMethod": "GET", @@ -49255,7 +49517,7 @@ } } }, -"revision": "20261016", +"revision": "20261026", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -49892,6 +50154,10 @@ false "format": "int32", "type": "integer" }, +"ipCollection": { +"description": "Reference to the source of external IPv4 addresses,\nlike a PublicDelegatedPrefix (PDP) for BYOIP.\nThe PDP must support enhanced IPv4 allocations.\n\nUse one of the following formats to specify a PDP when allocating an\nexternal IPv4 address using BYOIP.\n \n - \n Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name\n - \n Partial URL, as in\n \n \n - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name\n - regions/region/publicDelegatedPrefixes/pdp-name", +"type": "string" +}, "kind": { "default": "compute#accessConfig", "description": "Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.", @@ -50048,6 +50314,10 @@ false "description": "The URL of the network in which to reserve the address. This field can\nonly be used with INTERNAL type with theVPC_PEERING purpose.", "type": "string" }, +"networkAttachment": { +"description": "Optional. The URL of the network attachment that this address comes from in the\nfollowing format:\nprojects/{project}/regions/{region_name}/networkAttachments/{network_attachment_name}.", +"type": "string" +}, "networkTier": { "description": "This signifies the networking tier used for configuring this address and\ncan only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier;\nglobal external IP addresses are always Premium Tier; regional external IP\naddresses can be either Standard or Premium Tier.\n\nIf this field is not specified, it is assumed to be PREMIUM.", "enum": [ @@ -50076,6 +50346,8 @@ false "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -50086,6 +50358,8 @@ false "VM internal/alias IP, Internal LB service IP, etc.", "A regional internal IP address range reserved for the VLAN attachment\nthat is used in HA VPN over Cloud Interconnect. This regional\ninternal IP address range must not overlap with any IP address range\nof subnet/route in the VPC network and its peering networks. After the\nVLAN attachment is created with the reserved IP address range, when\ncreating a new VPN gateway, its interface IP address is allocated\nfrom the associated VLAN attachment's IP address range.", "External IP automatically reserved for Cloud NAT.", +"The global external address can only be assigned to Global External\nPassthrough Network Load Balancer forwarding rules, as an Availability\nGroup 0 address.", +"The global external address can only be assigned to Global External\nPassthrough Network Load Balancer forwarding rules, as an Availability\nGroup 1 address.", "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", @@ -50102,6 +50376,10 @@ false "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, +"serviceClassId": { +"description": "Optional. Producer Service's Service class ID for the region of this address. Can\nonly be used with network_attachment. It is not possible to use on its own;\nhowever, network_attachment can be used without service_class_id.", +"type": "string" +}, "status": { "description": "Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE.\nAn address that is RESERVING is currently in the process of\nbeing reserved. A RESERVED address is currently reserved and\navailable to use. An IN_USE address is currently being used\nby another resource and is not available.", "enum": [ @@ -53127,6 +53405,10 @@ false "description": "An optional description of this resource. Provide this property when you\ncreate the resource.", "type": "string" }, +"dynamicForwarding": { +"$ref": "BackendServiceDynamicForwarding", +"description": "Dynamic forwarding configuration. This field is used to configure the\nbackend service with dynamic forwarding feature which together with Service\nExtension allows customized and complex routing logic." +}, "edgeSecurityPolicy": { "description": "[Output Only] The resource URL for the edge security policy associated with\nthis backend service.", "type": "string" @@ -53210,6 +53492,7 @@ false "enum": [ "EXTERNAL", "EXTERNAL_MANAGED", +"EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -53218,6 +53501,7 @@ false "enumDescriptions": [ "Signifies that this will be used for classic Application Load Balancers,\nglobal external proxy Network Load Balancers,\nor external passthrough Network Load Balancers.", "Signifies that this will be used for global external Application Load\nBalancers, regional external Application Load Balancers, or regional\nexternal proxy Network Load Balancers.", +"Signifies that this will be used for global external passthrough Network\nLoad Balancers.", "Signifies that this will be used for internal passthrough Network Load\nBalancers.", "Signifies that this will be used for internal Application Load Balancers.", "Signifies that this will be used by Traffic Director.", @@ -53752,6 +54036,55 @@ false }, "type": "object" }, +"BackendServiceDynamicForwarding": { +"description": "Defines a dynamic forwarding configuration for the backend service.", +"id": "BackendServiceDynamicForwarding", +"properties": { +"forwardProxy": { +"$ref": "BackendServiceDynamicForwardingForwardProxy", +"description": "Dynamic Forwarding Proxy configuration." +}, +"ipPortSelection": { +"$ref": "BackendServiceDynamicForwardingIpPortSelection", +"description": "IP:PORT based dynamic forwarding configuration." +} +}, +"type": "object" +}, +"BackendServiceDynamicForwardingForwardProxy": { +"description": "Defines Dynamic Forwarding Proxy configuration.", +"id": "BackendServiceDynamicForwardingForwardProxy", +"properties": { +"enabled": { +"description": "A boolean flag enabling dynamic forwarding proxy.", +"type": "boolean" +}, +"proxyMode": { +"description": "Determines the dynamic forwarding proxy mode.", +"enum": [ +"CLOUD_RUN", +"DIRECT_FORWARDING" +], +"enumDescriptions": [ +"Dynamic forwarding directly to Cloud Run services.", +"Dynamic forwarding based on the Http Host header." +], +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceDynamicForwardingIpPortSelection": { +"description": "Defines a IP:PORT based dynamic forwarding configuration for the backend\nservice. Some ranges are restricted: Restricted\nranges.", +"id": "BackendServiceDynamicForwardingIpPortSelection", +"properties": { +"enabled": { +"description": "A boolean flag enabling IP:PORT based dynamic forwarding.", +"type": "boolean" +} +}, +"type": "object" +}, "BackendServiceFailoverPolicy": { "description": "For load balancers that have configurable\nfailover:\n[Internal passthrough Network Load\nBalancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview)\nand [external passthrough\nNetwork Load\nBalancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).\nOn failover or failback, this field indicates whether connection draining\nwill be honored. Google Cloud has a fixed connection draining timeout of\n10 minutes. A setting of true terminates existing TCP\nconnections to the active pool during failover and failback, immediately\ndraining traffic. A setting of false allows existing TCP\nconnections to persist, even on VMs no longer in the active pool, for up\nto the duration of the connection draining timeout (10 minutes).", "id": "BackendServiceFailoverPolicy", @@ -55118,6 +55451,10 @@ false "CacheInvalidationRule": { "id": "CacheInvalidationRule", "properties": { +"backendService": { +"description": "If set, this invalidation rule will only apply to requests routed to the\ngiven backend service or backend bucket.\nFor example, for a backend bucket `bb1` in the same scope as the URL map,\nthe path would be `projects/my-project/global/backendBuckets/bb1`; and\nfor a backend service `bs1` in the same scope as the URL map, the path\nwould be `projects/my-project/global/backendServices/bs1`.", +"type": "string" +}, "cacheTags": { "description": "A list of cache tags used to identify cached objects.\n\n \n - Cache tags are specified when the response is first cached, by setting\n the `Cache-Tag` response header at the origin.\n - Multiple cache tags in the same invalidation request are treated as\n Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.\n - If other fields are also specified, these are treated as Boolean `AND`\n with any tags.\n\n\nUp to 10 tags can be specified in a single invalidation request.", "items": { @@ -55125,10 +55462,19 @@ false }, "type": "array" }, +"contentType": { +"description": "If set, this invalidation rule will only apply to responses with the given\ncontent-type. Parameters are not allowed and are ignored from the response\nwhen matching. Wildcards are not allowed.", +"type": "string" +}, "host": { "description": "If set, this invalidation rule will only apply to requests with a Host\nheader matching host. This field also accepts wildcards (*) to replace the\nleftmost (or first) label of a hostname. For example, *.example.com will\nmatch www.example.com, but not sub1.dev.example.com.", "type": "string" }, +"httpStatus": { +"description": "If set, this invalidation rule will only apply to responses with the\ngiven HTTP status. Valid range is 200-599.", +"format": "int32", +"type": "integer" +}, "path": { "type": "string" } @@ -55200,11 +55546,13 @@ false "cacheMode": { "description": "Specifies the cache setting for all responses from this route. If not\nspecified, Cloud CDN uses `CACHE_ALL_STATIC` mode.", "enum": [ +"BYPASS_CACHE", "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "USE_ORIGIN_HEADERS" ], "enumDescriptions": [ +"Bypasses the cache for this route. All requests are forwarded to the\norigin, and responses are not cached.", "Automatically cache static content, including common image formats,\nmedia (video and audio), and web assets (JavaScript and CSS).\nRequests and responses that are marked as uncacheable, as well as\ndynamic content (including HTML), will not be cached.", "Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\"\ndirectives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.", "Requires the origin to set valid caching headers to cache content.\nResponses without these headers will not be cached at the edge, and will\nrequire a full trip to the origin on every request, potentially impacting\nperformance and increasing load on the origin server." @@ -56007,6 +56355,11 @@ false "MEMORY_OPTIMIZED_X4_480_8T", "MEMORY_OPTIMIZED_X4_960_12T", "MEMORY_OPTIMIZED_X4_960_16T", +"MEMORY_OPTIMIZED_X5_1376_24T", +"MEMORY_OPTIMIZED_X5_1376_32T", +"MEMORY_OPTIMIZED_X5_2064_48T", +"MEMORY_OPTIMIZED_X5_688_12T", +"MEMORY_OPTIMIZED_X5_688_16T", "NETWORK_OPTIMIZED_C4N", "NETWORK_OPTIMIZED_U4C", "NETWORK_OPTIMIZED_U4P", @@ -56060,6 +56413,11 @@ false "CUD bucket for X4 machine with 480 vCPUs and 8TB of memory.", "CUD bucket for X4 machine with 960 vCPUs and 12TB of memory.", "CUD bucket for X4 machine with 960 vCPUs and 16TB of memory.", +"CUD bucket for X5 machine with 1376 vCPUs and 24TB of memory.", +"CUD bucket for X5 machine with 1376 vCPUs and 32TB of memory.", +"CUD bucket for X5 machine with 2064 vCPUs and 48TB of memory.", +"CUD bucket for X5 machine with 688 vCPUs and 12TB of memory.", +"CUD bucket for X5 machine with 688 vCPUs and 16TB of memory.", "CUD bucket for C4N (dual Diorite) machines.", "CUD bucket for NETWORK_OPTIMIZED_U4C machines.", "CUD bucket for NETWORK_OPTIMIZED_U4P machines.", @@ -57165,13 +57523,52 @@ false ], "type": "string" }, +"confidentialParavisorConfig": { +"$ref": "ConfidentialParavisorConfig", +"description": "Defines a set of Confidential Paravisor (SVSM) options." +}, "enableConfidentialCompute": { -"description": "Defines whether the instance should have confidential compute enabled.", +"description": "Defines whether the instance should have confidential compute enabled.\nWhen enabled, the technology used defaults to \nAMD SEV unless confidentialInstanceType is specified.", "type": "boolean" } }, "type": "object" }, +"ConfidentialParavisorConfig": { +"description": "A set of Confidential Paravisor (SVSM) options.", +"id": "ConfidentialParavisorConfig", +"properties": { +"confidentialTpmType": { +"description": "Defines the type of TPM to use for the confidential instance.", +"enum": [ +"CONFIDENTIAL_TPM_TYPE_UNSPECIFIED", +"EPHEMERAL", +"NO_CC_TPM" +], +"enumDescriptions": [ +"No TPM type specified. Do not use this value.", +"An ephemeral vTPM running in the paravisor (SVSM).", +"No confidential computing vTPM is used in the paravisor (SVSM)." +], +"type": "string" +}, +"sevSnpIrqMode": { +"description": "Defines the IRQ mode to use for the confidential instance.", +"enum": [ +"RESTRICTED", +"SEV_SNP_IRQ_MODE_UNSPECIFIED", +"UNRESTRICTED" +], +"enumDescriptions": [ +"Restricted interrupt injection.", +"No IRQ mode specified. Do not use this value.", +"Unrestricted interrupt injection." +], +"type": "string" +} +}, +"type": "object" +}, "ConnectionDraining": { "description": "Message containing connection draining configuration.", "id": "ConnectionDraining", @@ -57918,6 +58315,23 @@ false "readOnly": true, "type": "string" }, +"sourceMachineImage": { +"description": "The machine image to create the disk from. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/machineImages/machineImage \n - projects/project/global/machineImages/machineImage\n - global/machineImages/machineImage", +"type": "string" +}, +"sourceMachineImageDiskDeviceName": { +"description": "The device name of a disk within a given machine image. The\nsource_machine_image must be specified.", +"type": "string" +}, +"sourceMachineImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source machine image. Required if the source\nmachine image is protected by a customer-supplied encryption key." +}, +"sourceMachineImageId": { +"description": "Output only. [Output Only] The unique ID of the machine image used to create this disk.\nThis value identifies the exact machine image that was used to create this\npersistent disk. For example, if you created the persistent disk from a\nmachine image that was later deleted and recreated under the same name, the\nsource machine image ID would identify the exact version of the machine\nimage that was used.", +"readOnly": true, +"type": "string" +}, "sourceSnapshot": { "description": "The source snapshot used to create this disk. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot \n - projects/project/global/snapshots/snapshot\n - global/snapshots/snapshot", "type": "string" @@ -59238,6 +59652,25 @@ false }, "type": "object" }, +"DynamicCompressionPolicy": { +"description": "Dynamic compression policy for this URL Map's route.", +"id": "DynamicCompressionPolicy", +"properties": { +"compressionMode": { +"description": "Compress text responses using Brotli or gzip compression, based on\nthe client's Accept-Encoding header.", +"enum": [ +"AUTOMATIC", +"DISABLED" +], +"enumDescriptions": [ +"Automatically uses the best compression based on the Accept-Encoding\nheader sent by the client.", +"Disables compression. Existing compressed responses cached by\nCloud CDN will not be served to clients." +], +"type": "string" +} +}, +"type": "object" +}, "ErrorInfo": { "description": "Describes the cause of the error with structured details.\n\nExample of an error when contacting the \"pubsub.googleapis.com\" API when it\nis not enabled:\n\n { \"reason\": \"API_DISABLED\"\n \"domain\": \"googleapis.com\"\n \"metadata\": {\n \"resource\": \"projects/123\",\n \"service\": \"pubsub.googleapis.com\"\n }\n }\n\nThis response indicates that the pubsub.googleapis.com API is not enabled.\n\nExample of an error that is returned when attempting to create a Spanner\ninstance in a region that is out of stock:\n\n { \"reason\": \"STOCKOUT\"\n \"domain\": \"spanner.googleapis.com\",\n \"metadata\": {\n \"availableRegions\": \"us-central1,us-east2\"\n }\n }", "id": "ErrorInfo", @@ -60340,6 +60773,18 @@ false "readOnly": true, "type": "string" }, +"policySource": { +"description": "Indicates the source of this Firewall Policy. This field is optional on\ncreation and defaults to USER_DEFINED.\n\nThe USER_DEFINED value indicates a regular firewall policy.\n\nThe SYSTEM value indicates a system-level policy managed by an\ninternal service like GKE. This SYSTEM value is reserved for\ninternal services and cannot be set by users during policy creation.\nPolicies with a SYSTEM source cannot be modified or deleted by\nusers.", +"enum": [ +"SYSTEM", +"USER_DEFINED" +], +"enumDescriptions": [ +"A system-level policy managed by an internal service like GKE. This value\nis reserved for internal services and cannot be set by users during\npolicy creation. Policies with a SYSTEM source cannot be modified or\ndeleted by users.", +"A regular firewall policy." +], +"type": "string" +}, "policyType": { "description": "The type of the firewall policy. This field can be one of\nVPC_POLICY, RDMA_ROCE_POLICY or ULL_POLICY.\n\nNote: if not specified then VPC_POLICY will be used.", "enum": [ @@ -60947,6 +61392,13 @@ false "description": "IP address for which this forwarding rule accepts traffic. When a client\nsends traffic to this IP address, the forwarding rule directs the traffic\nto the referenced target or backendService.\nWhile creating a forwarding rule, specifying an IPAddress is\nrequired under the following circumstances:\n\n \n - When the target is set to targetGrpcProxy andvalidateForProxyless is set to true, theIPAddress should be set to 0.0.0.0.\n - When the target is a Private Service Connect Google APIs\n bundle, you must specify an IPAddress.\n\n\nOtherwise, you can optionally specify an IP address that references an\nexisting static (reserved) IP address resource. When omitted, Google Cloud\nassigns an ephemeral IP address.\n\nUse one of the following formats to specify an IP address while creating a\nforwarding rule:\n\n* IP address number, as in `100.1.2.3`\n* IPv6 address range, as in `2600:1234::/96`\n* Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name\n* Partial URL or by name, as in:\n \n - projects/project_id/regions/region/addresses/address-name\n - regions/region/addresses/address-name\n - global/addresses/address-name\n - address-name\n\n\n\nThe IP address can only be set at creation. Once set, it cannot be updated.\n\nThe forwarding rule's target or backendService,\nand in most cases, also the loadBalancingScheme, determine the\ntype of IP address that you can use. For detailed information, see\n[IP address\nspecifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).\n\nWhen reading an IPAddress, the API always returns the IP\naddress number.\n\nWhen creating a global external Passthrough Network Load Balancer\nforwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud generated child\nforwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details.", "type": "string" }, +"IPAddresses": { +"description": "IP addresses for which this forwarding rule accepts traffic. All IP\naddresses must have the same IP version, IPv4 or IPv6. When a client sends\ntraffic that matches one of the specified IP addresses, protocol and ports,\nthe forwarding rule directs the traffic to the referencedbackendService. All IP addresses are served by the same set of\nbackends, and they share the target capacities specified in the backend\nservice fairly.\n\nGlobal external Passthrough Network Load Balancer requires two IP addresses\nfor each forwarding rule to provide high availability when both IP\naddresses are used to serve client requests. The two IP addresses must come\nfrom global IP pools that belong to two distinct Availability\nGroups, represented by the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0 andPASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1. TheIPAddresses field specifies zero, one, or two IP addresses:\n \n - If omitted, Google Cloud assigns two ephemeral IP addresses, one from\n each Availability Group.\n - If you specify one IP address that references an existing static IP\n address resource from one Availability Group, Google Cloud assigns an\n ephemeral IP address from the other Availability Group.\n - If you specify two IP addresses that reference existing static IP\n address resources, they are required to be from different Availability\n Groups.\n\n\n\nFor global external Passthrough Network Load Balancer, each IP address can be one of the following:\n \n - A static or ephemeral IPv4 address from a Google-owned IP pool.\n - A static IPv4 address from a global public delegated prefix.\n - A static or ephemeral IPv6 /96 prefix from a Google-owned IP pool.\n\n\n\nFor global external Passthrough Network Load Balancer, the two IP addresses\ncan be of different types. One IP address can be from a BYOIP prefix while\nthe other is from a Google-owned IP pool. One IP address can be static\nwhile the other is ephemeral. However, both IP addresses must have the same\nIP version, IPv4 or IPv6.\n\nThe IP addresses can only be set at creation and cannot be updated.\n\nWhen creating a global external Passthrough Network Load Balancer\nforwarding rule (a parent forwarding rule), you must use theIPAddresses field, but the Google Cloud-generated child\nforwarding rules set the IPAddress field instead. Refer to theavailabilityGroup field for further details.\n\nRefer to the IPAddress field for the formats that can be used\nto specify IP addresses while creating a forwarding rule.\n\nBecause Passthrough Network Load Balancers do not terminate or translate\ntraffic, the backend stack types must be compatible with the forwarding\nrule IP version:\n \n - If the forwarding rule IP version is IPv4, backends should be\n configured as dual-stack or IPv4-only.\n - If the forwarding rule IP version is IPv6, backends should be\n configured as dual-stack or IPv6-only.", +"items": { +"type": "string" +}, +"type": "array" +}, "IPProtocol": { "description": "The IP protocol to which this rule applies.\n\nFor protocol forwarding, valid\noptions are TCP, UDP, ESP,AH, SCTP, ICMP andL3_DEFAULT.\n\nThe valid IP protocols are different for different load balancing products\nas described in [Load balancing\nfeatures](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).", "enum": [ @@ -60989,6 +61441,21 @@ false "readOnly": true, "type": "array" }, +"availabilityGroup": { +"description": "Output only. [Output Only] Specifies the load balancing availability group, one of the\ntwo that collectively provide high availability.\n\nSpecifies the availability group of the forwarding rule. This\nfield is for use by global external passthrough load balancers (load\nbalancing scheme EXTERNAL_PASSTHROUGH) and is set for the\nchild forwarding rules only. The possible values are:\n \n - AVAILABILITY_GROUP0: Set for the child forwarding rule\n that is programmed on the AVAILABILITY_GROUP0 load balancing\n stack. The child forwarding rule has the same IP protocol, port, and\n backend service settings as the parent forwarding rule, but has only one of\n the two IP addresses of the parent forwarding rule, the one with the\n purpose PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0.\n - AVAILABILITY_GROUP1: Set for the child forwarding rule\n that is programmed on the AVAILABILITY_GROUP1 load balancing\n stack. The child forwarding rule has the same IP protocol, port and backend\n service settings as the parent forwarding rule, but has only one of the two\n IP addresses of the parent forwarding rule, the one with the purposePASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1.\n\n\n\nFor each global external Passthrough Network Load Balancer forwarding rule\n(a parent forwarding rule) that you create, Google Cloud generates two\noutput-only child forwarding rules, one forAVAILABILITY_GROUP0 and one forAVAILABILITY_GROUP1.", +"enum": [ +"AVAILABILITY_GROUP0", +"AVAILABILITY_GROUP1", +"AVAILABILITY_GROUP_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, "backendService": { "description": "Identifies the backend service to which the forwarding rule sends traffic.\n\nIt is a required field for the following load balancers:\n \n - Internal passthrough Network Load Balancers\n - Backend service-based regional external passthrough Network Load\n Balancers\n - Global external passthrough Network Load Balancers\n\n\n\nIt cannot be set by other load balancer types and protocol forwarding\nrules.", "type": "string" @@ -60998,6 +61465,14 @@ false "readOnly": true, "type": "string" }, +"childForwardingRules": { +"description": "Output only. [Output Only] The resource URLs for the child forwarding rules.\n\nApplicable only to the parent forwarding rule of global\nexternal passthrough load balancers. This field contains the list of child\nforwarding rule URLs associated with the parent forwarding rule: one for\neach availability group. AVAILABILITY_GROUP0 will be the first element, and\nAVAILABILITY_GROUP1 will be the second element. Refer to theavailabilityGroup field for further details. It cannot be set\nby any other forwarding rules.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, "creationTimestamp": { "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", "readOnly": true, @@ -61081,6 +61556,7 @@ false "enum": [ "EXTERNAL", "EXTERNAL_MANAGED", +"EXTERNAL_PASSTHROUGH", "INTERNAL", "INTERNAL_MANAGED", "INTERNAL_SELF_MANAGED", @@ -61092,6 +61568,7 @@ false "", "", "", +"", "" ], "type": "string" @@ -61132,6 +61609,11 @@ false "description": "This is used in PSC consumer ForwardingRule to control whether it should\ntry to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use\nthis field. Once set, this field is not mutable.", "type": "boolean" }, +"parentForwardingRule": { +"description": "Output only. [Output Only] The resource URL for the parent forwarding rule.\n\nApplicable only to the child forwarding rules of global external\npassthrough load balancers. This field contains the URL of the parent\nforwarding rule.", +"readOnly": true, +"type": "string" +}, "portRange": { "description": "The ports, portRange, and allPorts\nfields are mutually exclusive. Only packets addressed to ports in the\nspecified range will be forwarded to the backends configured with this\nforwarding rule.\n\nThe portRange field has the following limitations:\n \n - It requires that the forwarding rule IPProtocol be TCP,\n UDP, or SCTP, and\n - It's applicable only to the following products: external passthrough\n Network Load Balancers, internal and external proxy Network Load Balancers,\n internal and external Application Load Balancers, external protocol\n forwarding, and Classic VPN.\n - Some products have restrictions on what ports can be used. See \n port specifications for details.\n\n\n\nFor external forwarding rules, two or more forwarding rules cannot use the\nsame [IPAddress, IPProtocol] pair (specified inIPAddress, IPAddresses, IPProtocol\nfields) if they have overlapping portRanges.\n\nFor internal forwarding rules within the same VPC network, two or more\nforwarding rules cannot use the same [IPAddress, IPProtocol]\npair, and cannot have overlapping portRanges.\n\n@pattern: \\\\d+(?:-\\\\d+)?", "type": "string" @@ -67332,10 +67814,18 @@ false "$ref": "CorsPolicy", "description": "The specification for allowing client-side cross-origin requests. For more\ninformation about the W3C recommendation for cross-origin resource sharing\n(CORS), see Fetch API Living\nStandard.\n\nNot supported when the URL map is bound to a target gRPC proxy." }, +"dynamicCompressionPolicy": { +"$ref": "DynamicCompressionPolicy", +"description": "Dynamic compression policy for this URL Map's route. Available only for\nGlobal EXTERNAL_MANAGED load balancer schemes." +}, "faultInjectionPolicy": { "$ref": "HttpFaultInjection", "description": "The specification for fault injection introduced into traffic to test\nthe resiliency of clients to backend service failure. As part of fault\ninjection, when clients send requests to a backend service, delays can be\nintroduced by a load balancer on a percentage of requests before sending\nthose requests to the backend service. Similarly requests from clients can\nbe aborted by the load balancer for a percentage of requests.timeout and retry_policy is ignored by clients\nthat are configured with a fault_injection_policy if:\n1. The traffic is generated by fault injection AND\n2. The fault injection is not a delay fault injection.\nFault injection is not supported with the classic Application Load Balancer\n. To see which load balancers support fault injection,\nsee Load\nbalancing: Routing and traffic management features." }, +"imageOptimizationPolicy": { +"$ref": "ImageOptimizationPolicy", +"description": "Image optimization policy for this URL Map's route. Available only for\nGlobal EXTERNAL_MANAGED load balancer schemes.\nEither Cloud CDN must be enabled on the backend service or backend bucket\nserving the route, or cache policy must be configured on the same route" +}, "maxStreamDuration": { "$ref": "Duration", "description": "Specifies the maximum duration (timeout) for streams on the selected route.\nUnlike the timeout field where the timeout duration starts\nfrom the time the request has been fully processed (known as*end-of-stream*),\nthe duration in this field is computed from the beginning of the stream\nuntil the response has been processed, including all retries. A\nstream that does not complete in this duration is closed.\n\nIf not specified, this field uses the maximummaxStreamDuration value among all backend services associated\nwith the route.\n\nThis field is only allowed if the Url map is used with backend services\nwith loadBalancingScheme set toINTERNAL_SELF_MANAGED." @@ -68086,6 +68576,27 @@ false }, "type": "object" }, +"ImageOptimizationPolicy": { +"description": "The configuration for Cloud CDN's image optimization feature. This feature\ndynamically processes and delivers images from the network edge.\nImage Optimization is only available for Global External Application Load\nBalancers.\nEither Cloud CDN must be enabled on the backend service or backend bucket\nserving the route, or cache policy must be configured on the same route.", +"id": "ImageOptimizationPolicy", +"properties": { +"queryParameterInterpretation": { +"description": "Specifies whether to interpret query parameters for image optimization.", +"enum": [ +"DISABLED", +"ENABLED", +"QUERY_PARAMETER_INTERPRETATION_UNSPECIFIED" +], +"enumDescriptions": [ +"Query parameters for image optimization are ignored.", +"Query parameters for image optimization are interpreted.", +"Default value. This field value translates to the\ndefault behavior, which is to ignore query parameters for image\noptimization." +], +"type": "string" +} +}, +"type": "object" +}, "ImageParams": { "description": "Additional image params.", "id": "ImageParams", @@ -70486,6 +70997,7 @@ false "enum": [ "ACTIVATING", "ACTIVE", +"ACTIVE_DEGRADED", "DEACTIVATING", "FAILED", "INCOMPLETE", @@ -70494,6 +71006,7 @@ false "enumDescriptions": [ "The accelerator topology is being activated.", "The accelerator topology is active.", +"The accelerator topology is active but operating in degraded mode.", "The accelerator topology is being deactivated.", "The accelerator topology failed.", "The configuration is incomplete and the accelerator topology cannot\nbe activated due to insufficient number of running VMs.", @@ -79202,6 +79715,20 @@ false "description": "Machine Image parameters", "id": "MachineImageParams", "properties": { +"excludedDisks": { +"description": "Input only. Specifies the list of disk device names that must be excluded from the\nnew machine image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedDisks": { +"description": "Input only. Specifies the list of disk device names that must be included with the\nnew machine image.", +"items": { +"type": "string" +}, +"type": "array" +}, "resourceManagerTags": { "additionalProperties": { "type": "string" @@ -80538,6 +81065,14 @@ false "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}", "type": "string" }, +"additionalTags": { +"description": "Output only. [Output Only] Additional tags for this resource.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, "autoCreateSubnetworks": { "description": "Must be set to create a VPC network. If not set, a legacy network is\ncreated.\n\nWhen set to true, the VPC network is created in auto mode.\nWhen set to false, the VPC network is created in custom mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet\nhas a predetermined range as described inAuto mode VPC network IP ranges.\n\nFor custom mode VPC networks, you can add subnets using the subnetworksinsert\nmethod.", "type": "boolean" @@ -80943,6 +81478,7 @@ false "NEEDS_ATTENTION", "PENDING", "REJECTED", +"RESERVED", "STATUS_UNSPECIFIED" ], "enumDescriptions": [ @@ -80951,6 +81487,7 @@ false "The consumer needs to take further action before traffic can be served.", "The consumer neither allows nor prohibits traffic\nfrom the producer to reach its VPC.", "The consumer prohibits traffic from the producer to reach its VPC.", +"There is no traffic flowing in this state, only the address is\nreserved.", "" ], "type": "string" @@ -83350,6 +83887,8 @@ false "GCE_ENDPOINT", "IPSEC_INTERCONNECT", "NAT_AUTO", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1", "PRIVATE_SERVICE_CONNECT", "SERVERLESS", "SHARED_LOADBALANCER_VIP", @@ -83360,6 +83899,8 @@ false "VM internal/alias IP, Internal LB service IP, etc.", "A regional internal IP address range reserved for the VLAN attachment\nthat is used in HA VPN over Cloud Interconnect. This regional\ninternal IP address range must not overlap with any IP address range\nof subnet/route in the VPC network and its peering networks. After the\nVLAN attachment is created with the reserved IP address range, when\ncreating a new VPN gateway, its interface IP address is allocated\nfrom the associated VLAN attachment's IP address range.", "External IP automatically reserved for Cloud NAT.", +"The global external address can only be assigned to Global External\nPassthrough Network Load Balancer forwarding rules, as an Availability\nGroup 0 address.", +"The global external address can only be assigned to Global External\nPassthrough Network Load Balancer forwarding rules, as an Availability\nGroup 1 address.", "A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", "A regional internal IP address range reserved for Serverless.", "A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", @@ -89730,6 +90271,20 @@ false }, "type": "array" }, +"purpose": { +"description": "Immutable. The purpose of the public delegated prefix.\n\nThis field can only be set for the top-level global public delegated\nprefix. It is an output-only field for the sub-delegates that inherit the\nvalue from the top-level global public delegated prefix. Once the value is\nset, it cannot be changed.\n\nThe field cannot be set for regional public delegated prefixes.\n\nThe supported values are:\n \n \n - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public\n delegated prefix can only be used by Global External Application and\n Proxy Load Balancers to allocate addresses for forwarding rules. This is\n the default value.\n - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The\n global public delegated prefix can only be used by Global External\n Passthrough Network Load Balancers to allocate Availability Group 0\n addresses for forwarding rules.\n - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The\n global public delegated prefix can only be used by Global External\n Passthrough Network Load Balancers to allocate Availability Group 1\n addresses for forwarding rules.", +"enum": [ +"APPLICATION_AND_PROXY_LOAD_BALANCERS", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1" +], +"enumDescriptions": [ +"The global public delegated prefix can only be used by Global External\nApplication and Proxy Load Balancers to allocate addresses for forwarding\nrules. This is the default value.", +"The global public delegated prefix can only be used by Global External\nPassthrough Network Load Balancers to allocate Availability Group 0\naddresses for forwarding rules.", +"The global public delegated prefix can only be used by Global External\nPassthrough Network Load Balancers to allocate Availability Group 1\naddresses for forwarding rules." +], +"type": "string" +}, "region": { "description": "Output only. [Output Only] URL of the region where the public delegated prefix resides.\nThis field applies only to the region resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", "readOnly": true, @@ -90147,6 +90702,21 @@ false "description": "The name of the sub public delegated prefix.", "type": "string" }, +"purpose": { +"description": "Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited\nfrom parent prefix.", +"enum": [ +"APPLICATION_AND_PROXY_LOAD_BALANCERS", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0", +"PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1" +], +"enumDescriptions": [ +"The global public delegated prefix can only be used by Global External\nApplication and Proxy Load Balancers to allocate addresses for forwarding\nrules. This is the default value.", +"The global public delegated prefix can only be used by Global External\nPassthrough Network Load Balancers to allocate Availability Group 0\naddresses for forwarding rules.", +"The global public delegated prefix can only be used by Global External\nPassthrough Network Load Balancers to allocate Availability Group 1\naddresses for forwarding rules." +], +"readOnly": true, +"type": "string" +}, "region": { "description": "Output only. [Output Only] The region of the sub public delegated prefix if it is\nregional. If absent, the sub prefix is global.", "readOnly": true, @@ -96005,6 +96575,21 @@ false "readOnly": true, "type": "string" }, +"protectionTier": { +"description": "Output only. Protection tier for the workload which specifies the workload\nexpectations in the event of infrastructure failures at data center\n(e.g. power and/or cooling failures).", +"enum": [ +"PROTECTION_TIER_CAPACITY_OPTIMIZED", +"PROTECTION_TIER_STANDARD", +"PROTECTION_TIER_UNSPECIFIED" +], +"enumDescriptions": [ +"CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power,\ncooling) at the data center during normal operating conditions. In the\nevent of infrastructure failures at data center (e.g. power and/or\ncooling failures), this workload may be disrupted. As a consequence, it\nhas a weaker availability SLO than STANDARD.", +"STANDARD protection for workload that should be protected by\nredundancies (e.g. power, cooling) at the data center level. In the\nevent of infrastructure failures at data center (e.g. power and/or\ncooling failures), this workload is expected to continue as normal\nusing the redundancies.", +"Unspecified protection tier." +], +"readOnly": true, +"type": "string" +}, "terminationTimestamp": { "description": "Time in future when the instance will be terminated inRFC3339 text format.", "type": "string" @@ -98717,6 +99302,11 @@ false "bfdStatus": { "$ref": "BfdStatus" }, +"depreferenced": { +"description": "Output only. [Output Only] Indicates whether the BGP peer is in a depreferenced state.", +"readOnly": true, +"type": "boolean" +}, "enableIpv4": { "description": "Output only. Enable IPv4 traffic over BGP Peer.\nIt is enabled by default if the peerIpAddress is version 4.", "readOnly": true, @@ -99964,6 +100554,20 @@ false "$ref": "Duration", "description": "Specifies the Metadata Service preemption notice duration before the GCE ACPI G2\nSoft Off signal is triggered for Spot VMs only. If not specified,\nthere will be no wait before the G2 Soft Off signal is triggered." }, +"protectionTier": { +"description": "Protection tier for the workload which specifies the workload\nexpectations in the event of infrastructure failures at data center\n(e.g. power and/or cooling failures).", +"enum": [ +"PROTECTION_TIER_CAPACITY_OPTIMIZED", +"PROTECTION_TIER_STANDARD", +"PROTECTION_TIER_UNSPECIFIED" +], +"enumDescriptions": [ +"CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power,\ncooling) at the data center during normal operating conditions. In the\nevent of infrastructure failures at data center (e.g. power and/or\ncooling failures), this workload may be disrupted. As a consequence, it\nhas a weaker availability SLO than STANDARD.", +"STANDARD protection for workload that should be protected by\nredundancies (e.g. power, cooling) at the data center level. In the\nevent of infrastructure failures at data center (e.g. power and/or\ncooling failures), this workload is expected to continue as normal\nusing the redundancies.", +"Unspecified protection tier." +], +"type": "string" +}, "provisioningModel": { "description": "Specifies the provisioning model of the instance.", "enum": [ @@ -102578,14 +103182,14 @@ false "type": "string" }, "snapshotType": { -"description": "Indicates the type of the snapshot.", +"description": "Indicates the type of the snapshot. Valid values are ARCHIVE\nor STANDARD. The default is STANDARD.", "enum": [ "ARCHIVE", "STANDARD" ], "enumDescriptions": [ -"", -"" +"Indicates an archive snapshot, which is recommended for long-term\nretention and compliance.", +"Indicates a standard snapshot, which is recommended for frequent\nrestores." ], "type": "string" }, @@ -108094,7 +108698,7 @@ false "type": "string" }, "sslCertificates": { -"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", +"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.{universeDomain}/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", "items": { "type": "string" }, @@ -111136,6 +111740,7 @@ false "description": "The reasons for the maintenance. Only valid for vms.", "items": { "enum": [ +"FAILURE_CUSTOMER_REPORTED", "FAILURE_DISK", "FAILURE_GPU", "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", @@ -111155,6 +111760,7 @@ false "PLANNED_UPDATE" ], "enumDescriptions": [ +"Maintenance due to a fault reported by the customer via the R&R\n(Report-and-Replace) API.", "Maintenance due to disk errors.", "Maintenance due to GPU errors.", "Maintenance due to customer reported multiple faulty hosts via R&R\nSubblock API.", @@ -111294,6 +111900,11 @@ false "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, +"status": { +"$ref": "UrlMapStatus", +"description": "Output only. [Output Only] The status of the URL map.", +"readOnly": true +}, "tests": { "description": "The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a\nmaximum of 100 tests per UrlMap.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true.", "items": { @@ -111461,6 +112072,25 @@ false }, "type": "object" }, +"UrlMapQuotaUsage": { +"description": "Message representing the quota usage for a UrlMap.", +"id": "UrlMapQuotaUsage", +"properties": { +"forwardingRules": { +"description": "Output only. The number of forwarding rules that uses this UrlMap.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"units": { +"description": "Output only. The number of quota units calculated for this UrlMap.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "UrlMapReference": { "id": "UrlMapReference", "properties": { @@ -111470,6 +112100,18 @@ false }, "type": "object" }, +"UrlMapStatus": { +"description": "[Output Only] The status of the URL map.", +"id": "UrlMapStatus", +"properties": { +"quotaUsage": { +"$ref": "UrlMapQuotaUsage", +"description": "Output only. Summary of quota usage for given UrlMap.", +"readOnly": true +} +}, +"type": "object" +}, "UrlMapTest": { "description": "Message for the expected URL mappings.", "id": "UrlMapTest", @@ -111538,6 +112180,11 @@ false "description": "Whether the given UrlMap can be successfully loaded.\nIf false, 'loadErrors' indicates the reasons.", "type": "boolean" }, +"quotaUsage": { +"$ref": "UrlMapQuotaUsage", +"description": "Output only. Summary of quota usage for given UrlMap.", +"readOnly": true +}, "testFailures": { "items": { "$ref": "TestFailure" @@ -114957,6 +115604,18 @@ false "Default." ], "type": "string" +}, +"flowManagement": { +"description": "The flow management configuration for the wire.", +"enum": [ +"DYNAMIC_PATH", +"FIXED_PATH" +], +"enumDescriptions": [ +"The wire uses dynamic paths.", +"The wire uses fixed paths." +], +"type": "string" } }, "type": "object" @@ -114969,6 +115628,19 @@ false }, "identityCertificateEnabled": { "type": "boolean" +}, +"identityType": { +"enum": [ +"AGENT_IDENTITY", +"IDENTITY_TYPE_UNSPECIFIED", +"SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" } }, "type": "object" @@ -115457,7 +116129,7 @@ false } }, "servicePath": "compute/v1/", -"serviceVersion": "2026-09-01", +"serviceVersion": "2026-11-01", "title": "Compute Engine API", "version": "v1" } \ No newline at end of file diff --git a/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json b/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json index 44e27675cc..0af55efe63 100644 --- a/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +++ b/googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json @@ -6117,7 +6117,7 @@ } } }, -"revision": "20261015", +"revision": "20261029", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudCesV1mainAgentTransfer": { @@ -6347,6 +6347,11 @@ "readOnly": true, "type": "string" }, +"targetApp": { +"description": "Output only. The app this call targets, derived by the assistant from the call's resource arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session-local tools. Set only in project-scoped assistant sessions.", +"readOnly": true, +"type": "string" +}, "tool": { "description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", "type": "string" @@ -6389,6 +6394,11 @@ "description": "Required. The tool execution result in JSON object format. Use \"output\" key to specify tool response and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as tool execution result.", "type": "object" }, +"targetApp": { +"description": "Output only. The app the executed tool targeted; mirrors ToolCall.target_app.", +"readOnly": true, +"type": "string" +}, "tool": { "description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", "type": "string" @@ -8345,6 +8355,14 @@ true "description": "The agent's location.", "type": "string" }, +"studyArmId": { +"description": "The study arm ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, +"studyId": { +"description": "The study ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, "team": { "deprecated": true, "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.", @@ -9802,6 +9820,8 @@ true "EXPORT_V15", "EXPORT_V16", "EXPORT_V17", +"EXPORT_V18", +"EXPORT_V19", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -9823,6 +9843,8 @@ true "Export schema version 15.", "Export schema version 16.", "Export schema version 17.", +"Export schema version 18.", +"Export schema version 19.", "Export schema version latest available." ], "type": "string" @@ -12024,13 +12046,15 @@ true "PREDEFINED_QUESTION_TYPE_UNSPECIFIED", "CONVERSATION_OUTCOME", "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE", -"CONVERSATION_OUTCOME_AI_AVERSION" +"CONVERSATION_OUTCOME_AI_AVERSION", +"CONVERSATION_OUTCOME_ESCALATION_REASON" ], "enumDescriptions": [ "The type of the predefined question is unspecified.", "A prebuilt classifier classfying the outcome of the conversation. For example, if the customer issue mentioned in a conversation has been resolved or not.", "A prebuilt classifier classfying the initiator of the conversation escalation. For example, if it was initiated by the customer or the agent.", -"Classifies whether the customer demonstrates AI aversion by instantly requesting escalation to a human agent without attempting to work with the AI agent." +"Classifies whether the customer demonstrates AI aversion by instantly requesting escalation to a human agent without attempting to work with the AI agent.", +"Classifies the primary reason for escalating the conversation to a human agent." ], "type": "string" } @@ -14955,6 +14979,14 @@ true "description": "The agent's location.", "type": "string" }, +"studyArmId": { +"description": "The study arm ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, +"studyId": { +"description": "The study ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, "team": { "deprecated": true, "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.", @@ -16236,6 +16268,8 @@ true "EXPORT_V15", "EXPORT_V16", "EXPORT_V17", +"EXPORT_V18", +"EXPORT_V19", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -16257,6 +16291,8 @@ true "Export schema version 15.", "Export schema version 16.", "Export schema version 17.", +"Export schema version 18.", +"Export schema version 19.", "Export schema version latest available." ], "type": "string" @@ -19932,6 +19968,14 @@ true "description": "The agent's location.", "type": "string" }, +"studyArmId": { +"description": "The study arm ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, +"studyId": { +"description": "The study ID associated with the conversation. Only applicable to automated agents.", +"type": "string" +}, "team": { "deprecated": true, "description": "A user-specified string representing the agent's team. Deprecated in favor of the `teams` field.", @@ -21213,6 +21257,8 @@ true "EXPORT_V15", "EXPORT_V16", "EXPORT_V17", +"EXPORT_V18", +"EXPORT_V19", "EXPORT_VERSION_LATEST_AVAILABLE" ], "enumDescriptions": [ @@ -21234,6 +21280,8 @@ true "Export schema version 15.", "Export schema version 16.", "Export schema version 17.", +"Export schema version 18.", +"Export schema version 19.", "Export schema version latest available." ], "type": "string" diff --git a/googleapiclient/discovery_cache/documents/container.v1.json b/googleapiclient/discovery_cache/documents/container.v1.json index 39f82d3517..e822f0a9d9 100644 --- a/googleapiclient/discovery_cache/documents/container.v1.json +++ b/googleapiclient/discovery_cache/documents/container.v1.json @@ -2811,7 +2811,7 @@ } } }, -"revision": "20260922", +"revision": "20261021", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3034,6 +3034,10 @@ "statefulHaConfig": { "$ref": "StatefulHAConfig", "description": "Optional. Configuration for the StatefulHA add-on." +}, +"wizSensorConfig": { +"$ref": "WizSensorConfig", +"description": "Optional. Configuration for the Wiz Sensor add-on." } }, "type": "object" @@ -3112,6 +3116,17 @@ }, "type": "object" }, +"AmbientNetworkingConfig": { +"description": "AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster.", +"id": "AmbientNetworkingConfig", +"properties": { +"enabled": { +"description": "Optional. If true, enable ambient networking for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, "AnonymousAuthenticationConfig": { "description": "AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.", "id": "AnonymousAuthenticationConfig", @@ -3334,6 +3349,34 @@ }, "type": "object" }, +"AutoprovisioningRestrictionConfig": { +"description": "AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings.", +"id": "AutoprovisioningRestrictionConfig", +"properties": { +"authorizedServiceAccounts": { +"description": "Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccountPermissionCheck": { +"description": "Optional. Controls whether service account validation checks are enforced for autoprovisioning.", +"enum": [ +"PERMISSION_CHECK_MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value. Permission check mode is unspecified.", +"Service account permission check is disabled.", +"Service account permission check is enabled." +], +"type": "string" +} +}, +"type": "object" +}, "AutoscaledRolloutPolicy": { "description": "Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.", "id": "AutoscaledRolloutPolicy", @@ -4108,6 +4151,10 @@ "$ref": "AutoprovisioningNodePoolDefaults", "description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP." }, +"autoprovisioningRestrictionConfig": { +"$ref": "AutoprovisioningRestrictionConfig", +"description": "Optional. Configures restrictions related to autoprovisioning settings." +}, "autoscalingProfile": { "description": "Defines autoscaling behaviour.", "enum": [ @@ -4198,6 +4245,10 @@ "$ref": "AddonsConfig", "description": "Configurations for the various addons available to run in the cluster." }, +"desiredAmbientNetworkingConfig": { +"$ref": "AmbientNetworkingConfig", +"description": "Optional. The desired ambient networking configuration." +}, "desiredAnonymousAuthenticationConfig": { "$ref": "AnonymousAuthenticationConfig", "description": "Configuration for limiting anonymous access to all endpoints except the health checks." @@ -4256,12 +4307,16 @@ "enum": [ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", -"ADVANCED_DATAPATH" +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" ], "enumDescriptions": [ "Default value.", "Use the IPTables implementation based on kube-proxy.", -"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." ], "type": "string" }, @@ -5402,6 +5457,11 @@ "format": "int32", "type": "integer" }, +"ephemeralCapacityGb": { +"description": "Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block.", +"format": "int64", +"type": "string" +}, "localSsdCount": { "description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", "format": "int32", @@ -5638,15 +5698,21 @@ "GPU_DRIVER_VERSION_UNSPECIFIED", "INSTALLATION_DISABLED", "DEFAULT", -"LATEST" +"LATEST", +"SPECIFIC" ], "enumDescriptions": [ "Default value is to not install any GPU driver.", "Disable GPU driver auto installation and needs manual installation", "\"Default\" GPU driver in COS and Ubuntu.", -"\"Latest\" GPU driver in COS." +"\"Latest\" GPU driver in COS.", +"\"Specific\" GPU driver in COS. If used, the specific_version field must be also set." ], "type": "string" +}, +"specificVersion": { +"description": "Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned.", +"type": "string" } }, "type": "object" @@ -6894,17 +6960,25 @@ false "description": "NetworkConfig reports the relative names of network & subnetwork.", "id": "NetworkConfig", "properties": { +"ambientNetworkingConfig": { +"$ref": "AmbientNetworkingConfig", +"description": "Optional. Contains the desired config of Ambient Networking mode on this cluster." +}, "datapathProvider": { "description": "The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.", "enum": [ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", -"ADVANCED_DATAPATH" +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" ], "enumDescriptions": [ "Default value.", "Use the IPTables implementation based on kube-proxy.", -"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." ], "type": "string" }, @@ -7486,6 +7560,16 @@ false "description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.", "type": "string" }, +"containerLogMaxWorkers": { +"description": "Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified.", +"format": "int32", +"type": "integer" +}, +"containerLogMonitorInterval": { +"description": "Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is \"10s\" if unspecified.", +"format": "google-duration", +"type": "string" +}, "cpuCfsQuota": { "description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.", "type": "boolean" @@ -7559,6 +7643,10 @@ false "$ref": "ReservedResourcesConfig", "description": "Optional. Controls the reserved resources on the node. Only included if any fields are specified." }, +"reservedSystemCpus": { +"description": "Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. \"0-3\", \"0,1\") that can be parsed as a cpuset.", +"type": "string" +}, "shutdownGracePeriodCriticalPodsSeconds": { "description": "Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].", "format": "int32", @@ -7639,6 +7727,24 @@ false "description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", "type": "boolean" }, +"datapathProvider": { +"description": "The datapath provider for this node pool.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." +], +"type": "string" +}, "enablePrivateNodes": { "description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes", "type": "boolean" @@ -9204,7 +9310,8 @@ true "type": "string" }, "vulnerabilityMode": { -"description": "Sets which mode to use for vulnerability scanning.", +"deprecated": true, +"description": "Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning.", "enum": [ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", @@ -9215,13 +9322,13 @@ true false, false, true, -false +true ], "enumDescriptions": [ "Default value not specified.", "Disables vulnerability scanning on the cluster.", "Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", -"Applies the Security Posture's vulnerability on cluster Enterprise level features." +"Deprecated: Advanced vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture's vulnerability on cluster Enterprise level features." ], "type": "string" } @@ -10230,6 +10337,18 @@ false "description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", "type": "string" }, +"nodeConfigUpdateMode": { +"description": "Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior.", +"enum": [ +"NODE_CONFIG_UPDATE_MODE_UNSPECIFIED", +"LIVE_UPDATE_WITHOUT_DRAIN" +], +"enumDescriptions": [ +"Unspecified.", +"Node updates are applied in-place on the running VM without VM recreation and without draining workloads/pods." +], +"type": "string" +}, "nodeDrainConfig": { "$ref": "NodeDrainConfig", "description": "The desired node drain configuration for nodes in the node pool." @@ -10766,6 +10885,29 @@ false }, "type": "object" }, +"WizSensorConfig": { +"description": "Configuration for the Wiz Sensor add-on.", +"id": "WizSensorConfig", +"properties": { +"apiKeySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the Wiz Sensor add-on is enabled for this cluster.", +"type": "boolean" +}, +"proxySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +}, +"registrySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +} +}, +"type": "object" +}, "WorkloadIdentityConfig": { "description": "Configuration for the use of Kubernetes Service Accounts in IAM policies.", "id": "WorkloadIdentityConfig", diff --git a/googleapiclient/discovery_cache/documents/container.v1beta1.json b/googleapiclient/discovery_cache/documents/container.v1beta1.json index 662e0700cf..74804b6f5b 100644 --- a/googleapiclient/discovery_cache/documents/container.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/container.v1beta1.json @@ -2837,7 +2837,7 @@ } } }, -"revision": "20260922", +"revision": "20261021", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3092,6 +3092,10 @@ "statefulHaConfig": { "$ref": "StatefulHAConfig", "description": "Optional. Configuration for the StatefulHA add-on." +}, +"wizSensorConfig": { +"$ref": "WizSensorConfig", +"description": "Optional. Configuration for the Wiz Sensor add-on." } }, "type": "object" @@ -3170,6 +3174,17 @@ }, "type": "object" }, +"AmbientNetworkingConfig": { +"description": "AmbientNetworkingConfig contains the desired config of Ambient Networking on this cluster.", +"id": "AmbientNetworkingConfig", +"properties": { +"enabled": { +"description": "Optional. If true, enable ambient networking for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, "AnonymousAuthenticationConfig": { "description": "AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.", "id": "AnonymousAuthenticationConfig", @@ -3417,6 +3432,34 @@ }, "type": "object" }, +"AutoprovisioningRestrictionConfig": { +"description": "AutoprovisioningRestrictionConfig configures restrictions related to autoprovisioning settings.", +"id": "AutoprovisioningRestrictionConfig", +"properties": { +"authorizedServiceAccounts": { +"description": "Optional. Contains the list of service accounts allowed for autoprovisioned node pools / Custom ComputeClasses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccountPermissionCheck": { +"description": "Optional. Controls whether service account validation checks are enforced for autoprovisioning.", +"enum": [ +"PERMISSION_CHECK_MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value. Permission check mode is unspecified.", +"Service account permission check is disabled.", +"Service account permission check is enabled." +], +"type": "string" +} +}, +"type": "object" +}, "AutoscaledRolloutPolicy": { "description": "Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.", "id": "AutoscaledRolloutPolicy", @@ -4264,6 +4307,10 @@ "$ref": "AutoprovisioningNodePoolDefaults", "description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP." }, +"autoprovisioningRestrictionConfig": { +"$ref": "AutoprovisioningRestrictionConfig", +"description": "Optional. Configures restrictions related to autoprovisioning settings." +}, "autoscalingProfile": { "description": "Defines autoscaling behaviour.", "enum": [ @@ -4377,6 +4424,10 @@ "$ref": "AddonsConfig", "description": "Configurations for the various addons available to run in the cluster." }, +"desiredAmbientNetworkingConfig": { +"$ref": "AmbientNetworkingConfig", +"description": "Optional. The desired ambient networking configuration." +}, "desiredAnonymousAuthenticationConfig": { "$ref": "AnonymousAuthenticationConfig", "description": "Configuration for limiting anonymous access to all endpoints except the health checks." @@ -4439,12 +4490,16 @@ "enum": [ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", -"ADVANCED_DATAPATH" +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" ], "enumDescriptions": [ "Default value.", "Use the IPTables implementation based on kube-proxy.", -"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." ], "type": "string" }, @@ -5657,6 +5712,11 @@ "format": "int32", "type": "integer" }, +"ephemeralCapacityGb": { +"description": "Capacity set aside for Ephemeral Storage if using mixed Local SSD modes. The remaining capacity is Raw Block.", +"format": "int64", +"type": "string" +}, "localSsdCount": { "description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", "format": "int32", @@ -5893,15 +5953,21 @@ "GPU_DRIVER_VERSION_UNSPECIFIED", "INSTALLATION_DISABLED", "DEFAULT", -"LATEST" +"LATEST", +"SPECIFIC" ], "enumDescriptions": [ "Default value is to not install any GPU driver.", "Disable GPU driver auto installation and needs manual installation", "\"Default\" GPU driver in COS and Ubuntu.", -"\"Latest\" GPU driver in COS." +"\"Latest\" GPU driver in COS.", +"\"Specific\" GPU driver in COS. If used, the specific_version field must be also set." ], "type": "string" +}, +"specificVersion": { +"description": "Optional. The specific version of the GPU driver to install. Use this field only with gpu_driver_version set to SPECIFIC. Otherwise, an error will be returned.", +"type": "string" } }, "type": "object" @@ -7294,17 +7360,25 @@ false "description": "NetworkConfig reports the relative names of network & subnetwork.", "id": "NetworkConfig", "properties": { +"ambientNetworkingConfig": { +"$ref": "AmbientNetworkingConfig", +"description": "Optional. Contains the desired config of Ambient Networking mode on this cluster." +}, "datapathProvider": { "description": "The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.", "enum": [ "DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", -"ADVANCED_DATAPATH" +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" ], "enumDescriptions": [ "Default value.", "Use the IPTables implementation based on kube-proxy.", -"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." ], "type": "string" }, @@ -7910,6 +7984,16 @@ false "description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.", "type": "string" }, +"containerLogMaxWorkers": { +"description": "Optional. Defines the maximum number of concurrent workers to rotate container log files. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 1 and 10, inclusive. The default value is 1 if unspecified.", +"format": "int32", +"type": "integer" +}, +"containerLogMonitorInterval": { +"description": "Optional. Specifies the interval at which the container logs are monitored for performing the log rotate operation. The value must be a positive interval between 3s and 300s, inclusive. The default value is \"10s\" if unspecified.", +"format": "google-duration", +"type": "string" +}, "cpuCfsQuota": { "description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.", "type": "boolean" @@ -7983,6 +8067,10 @@ false "$ref": "ReservedResourcesConfig", "description": "Optional. Controls the reserved resources on the node. Only included if any fields are specified." }, +"reservedSystemCpus": { +"description": "Optional. The reserved_system_cpus option specifies the CPU list reserved for the host system services. Format: a list of CPU IDs (e.g. \"0-3\", \"0,1\") that can be parsed as a cpuset.", +"type": "string" +}, "shutdownGracePeriodCriticalPodsSeconds": { "description": "Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].", "format": "int32", @@ -8063,6 +8151,24 @@ false "description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", "type": "boolean" }, +"datapathProvider": { +"description": "The datapath provider for this node pool.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH", +"MIGRATE_TO_ADVANCED_DATAPATH", +"MIGRATE_TO_LEGACY_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.", +"Cluster has some existing nodes but new nodes should use ADVANCED_DATAPATH.", +"Cluster has some existing nodes but new nodes should use LEGACY_DATAPATH." +], +"type": "string" +}, "enablePrivateNodes": { "description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes", "type": "boolean" @@ -9009,16 +9115,22 @@ false "description": "WorkloadConfig defines which actions are enabled for a cluster's workload configurations." }, "workloadVulnerabilityMode": { -"description": "Sets which mode to use for Protect workload vulnerability scanning feature.", +"deprecated": true, +"description": "Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for Protect workload vulnerability scanning feature.", "enum": [ "WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED", "DISABLED", "BASIC" ], +"enumDeprecated": [ +false, +false, +true +], "enumDescriptions": [ "Default value not specified.", "Disables Workload Vulnerability Scanning feature on the cluster.", -"Applies basic vulnerability scanning settings for cluster workloads." +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning settings for cluster workloads." ], "type": "string" } @@ -9717,7 +9829,8 @@ true "type": "string" }, "vulnerabilityMode": { -"description": "Sets which mode to use for vulnerability scanning.", +"deprecated": true, +"description": "Deprecated: Vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Sets which mode to use for vulnerability scanning.", "enum": [ "VULNERABILITY_MODE_UNSPECIFIED", "VULNERABILITY_DISABLED", @@ -9728,13 +9841,13 @@ true false, false, true, -false +true ], "enumDescriptions": [ "Default value not specified.", "Disables vulnerability scanning on the cluster.", "Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", -"Applies the Security Posture's vulnerability on cluster Enterprise level features." +"Deprecated: Advanced vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture's vulnerability on cluster Enterprise level features." ], "type": "string" } @@ -10770,6 +10883,18 @@ false "description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", "type": "string" }, +"nodeConfigUpdateMode": { +"description": "Optional. Option to specify the rollout strategy to apply node pool configuration updates. If unspecified, standard rolling update strategy with VM recreation is used as the default behavior.", +"enum": [ +"NODE_CONFIG_UPDATE_MODE_UNSPECIFIED", +"LIVE_UPDATE_WITHOUT_DRAIN" +], +"enumDescriptions": [ +"Unspecified.", +"Node updates are applied in-place on the running VM without VM recreation and without draining workloads/pods." +], +"type": "string" +}, "nodeDrainConfig": { "$ref": "NodeDrainConfig", "description": "The desired node drain configuration for nodes in the node pool." @@ -10787,6 +10912,13 @@ false "description": "Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", "type": "string" }, +"nodes": { +"description": "Optional. The nodes to upgrade. The field can only be used together with the node_version field.", +"items": { +"type": "string" +}, +"type": "array" +}, "projectId": { "deprecated": true, "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", @@ -11337,6 +11469,29 @@ false }, "type": "object" }, +"WizSensorConfig": { +"description": "Configuration for the Wiz Sensor add-on.", +"id": "WizSensorConfig", +"properties": { +"apiKeySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz API key secret. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the Wiz Sensor add-on is enabled for this cluster.", +"type": "boolean" +}, +"proxySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz proxy configuration. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +}, +"registrySecretUri": { +"description": "Optional. The GCP Secret Manager URI for the Wiz registry secret. Format: \"projects/{project_id}/secrets/{secret_name}/versions/{version}\" or Format: \"projects/{project_id}/locations/{location_id}/secrets/{secret_name}/versions/{version}\"", +"type": "string" +} +}, +"type": "object" +}, "WorkloadALTSConfig": { "description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity.", "id": "WorkloadALTSConfig", diff --git a/googleapiclient/discovery_cache/documents/dataplex.v1.json b/googleapiclient/discovery_cache/documents/dataplex.v1.json index 3105abe356..55c6a2cfda 100644 --- a/googleapiclient/discovery_cache/documents/dataplex.v1.json +++ b/googleapiclient/discovery_cache/documents/dataplex.v1.json @@ -82,6 +82,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://dataplex.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://dataplex.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -1001,7 +1006,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/dataplex.read-write" +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/dataplex.read-write", +"https://www.googleapis.com/auth/dataplex.readonly" ] }, "modifyEntry": { @@ -7634,7 +7641,7 @@ } } }, -"revision": "20261013", +"revision": "20261027", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -9307,6 +9314,11 @@ "description": "The output of a DataDocumentation scan.", "id": "GoogleCloudDataplexV1DataDocumentationResult", "properties": { +"dataProductResult": { +"$ref": "GoogleCloudDataplexV1DataDocumentationResultDataProductResult", +"description": "Output only. Insights for a data product.", +"readOnly": true +}, "datasetResult": { "$ref": "GoogleCloudDataplexV1DataDocumentationResultDatasetResult", "description": "Output only. Insights for a Dataset resource.", @@ -9320,6 +9332,51 @@ }, "type": "object" }, +"GoogleCloudDataplexV1DataDocumentationResultDataProductResult": { +"description": "Generated metadata about a data product.", +"id": "GoogleCloudDataplexV1DataDocumentationResultDataProductResult", +"properties": { +"assetDescriptions": { +"description": "Output only. Unordered list. Generated descriptions for assets in the data product. Note that some assets may not have a generated description. Such assets will not be included in this list.", +"items": { +"$ref": "GoogleCloudDataplexV1DataDocumentationResultDataProductResultAssetDescription" +}, +"readOnly": true, +"type": "array" +}, +"overview": { +"description": "Output only. A detailed description for the data product.", +"readOnly": true, +"type": "string" +}, +"queries": { +"description": "Output only. Unordered list. Sample SQL queries for the data product.", +"items": { +"$ref": "GoogleCloudDataplexV1DataDocumentationResultQuery" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDataplexV1DataDocumentationResultDataProductResultAssetDescription": { +"description": "Description for an asset in the data product.", +"id": "GoogleCloudDataplexV1DataDocumentationResultDataProductResultAssetDescription", +"properties": { +"overview": { +"description": "Output only. A generated description for the asset.", +"readOnly": true, +"type": "string" +}, +"resource": { +"description": "Output only. The service-qualified full resource name of the asset. Example: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudDataplexV1DataDocumentationResultDatasetResult": { "description": "Insights for a dataset resource.", "id": "GoogleCloudDataplexV1DataDocumentationResultDatasetResult", @@ -12306,6 +12363,11 @@ "readOnly": true, "type": "string" }, +"entryGroupType": { +"description": "Output only. The type of the EntryGroup that this entry belongs to. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets.", +"readOnly": true, +"type": "string" +}, "entrySource": { "$ref": "GoogleCloudDataplexV1EntrySource", "description": "Optional. Information related to the source system of the data resource that is represented by the entry." @@ -12388,6 +12450,10 @@ "readOnly": true, "type": "string" }, +"type": { +"description": "Optional. Immutable. The type of this EntryGroup. The default value is an empty string. Recognised values include: * context-set: EntryGroup containing context set data assets.", +"type": "string" +}, "uid": { "description": "Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different.", "readOnly": true, @@ -14574,6 +14640,10 @@ "$ref": "GoogleCloudDataplexV1BatchChangeMetadataRequest", "description": "Required. The detailed specification of the proposed changes. This payload is intended to be embedded as the change_payload in the resulting ChangeRequest." }, +"deferredValidation": { +"description": "Optional. If set to true, defers reference validation between entries to when the change request is approved and applied. Structural validation of entries and aspects is still performed at the time of submission. The default is false.", +"type": "boolean" +}, "justification": { "description": "Optional. Justification for the metadata change request.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/deepreview.v1.json b/googleapiclient/discovery_cache/documents/deepreview.v1.json index 6e74b96321..ffcd7afa53 100644 --- a/googleapiclient/discovery_cache/documents/deepreview.v1.json +++ b/googleapiclient/discovery_cache/documents/deepreview.v1.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, "https://www.googleapis.com/auth/drive.file": { "description": "See, edit, create, and delete only the specific Google Drive files you use with this app" } @@ -108,7 +111,7 @@ "documents": { "methods": { "delete": { -"description": "Deletes a document and all associated reviews and stored blobs.", +"description": "Deletes a document and its stored content. If `force` is set to `true`, any associated reviews are also deleted.", "flatPath": "v1/documents/{documentsId}", "httpMethod": "DELETE", "id": "deepreview.documents.delete", @@ -117,17 +120,17 @@ ], "parameters": { "allowMissing": { -"description": "Optional. If set to true, and the document is not found, the request succeeds.", +"description": "Optional. If set to `true`, and the document is not found, the request succeeds.", "location": "query", "type": "boolean" }, "force": { -"description": "Optional. If set to true, any child resources (e.g. review resources) are also deleted.", +"description": "Optional. If set to `true`, any child resources (e.g. review resources) are also deleted. If `false` and the document has existing reviews, the request fails with `FAILED_PRECONDITION`.", "location": "query", "type": "boolean" }, "name": { -"description": "Required. The resource name of the document to delete. Format: `documents/{document}`", +"description": "Required. The resource name of the document to delete.", "location": "path", "pattern": "^documents/[^/]+$", "required": true, @@ -139,11 +142,41 @@ "$ref": "Empty" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/drive.file" +] +}, +"estimateReviewCost": { +"description": "Estimates what a review of a document would cost on the caller's Gemini API key. The estimate comes from what past reviews with the same model, depth, and thinking level cost, adjusted to this document's size and repriced at the Gemini API's current list prices. It covers one review attempt that runs to completion, and doesn't include retries after errors.", +"flatPath": "v1/documents/{documentsId}:estimateReviewCost", +"httpMethod": "POST", +"id": "deepreview.documents.estimateReviewCost", +"parameterOrder": [ +"document" +], +"parameters": { +"document": { +"description": "Required. The document to review.", +"location": "path", +"pattern": "^documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+document}:estimateReviewCost", +"request": { +"$ref": "EstimateReviewCostRequest" +}, +"response": { +"$ref": "EstimateReviewCostResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] }, "get": { -"description": "Retrieves document metadata and review history.", +"description": "Retrieves document metadata. The returned document includes its `latest_review_summary` when a review exists.", "flatPath": "v1/documents/{documentsId}", "httpMethod": "GET", "id": "deepreview.documents.get", @@ -152,7 +185,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the document to retrieve. Format: `documents/{document}`", +"description": "Required. The resource name of the document to retrieve.", "location": "path", "pattern": "^documents/[^/]+$", "required": true, @@ -164,28 +197,29 @@ "$ref": "Document" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] }, "list": { -"description": "Lists documents for the authenticated caller with cursor pagination.", +"description": "Lists documents for the authenticated caller with cursor pagination. Each returned document includes its `latest_review_summary` when a review exists.", "flatPath": "v1/documents", "httpMethod": "GET", "id": "deepreview.documents.list", "parameterOrder": [], "parameters": { "filter": { -"description": "Optional. Supported AIP-160 filter expressions (e.g., `display_name = \"...\"`).", +"description": "Optional. Custom filter expressions are not currently supported; non-empty values return INVALID_ARGUMENT.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Supported AIP-132 order_by field.", +"description": "Optional. Custom order_by expressions are not currently supported; non-empty values return INVALID_ARGUMENT.", "location": "query", "type": "string" }, "pageSize": { -"description": "Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most 50 documents will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"description": "Optional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most 50 documents will be returned. The maximum value is 100; values above 100 will be coerced to 100.", "format": "int32", "location": "query", "type": "integer" @@ -201,6 +235,7 @@ "$ref": "ListDocumentsResponse" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] } @@ -209,7 +244,7 @@ "reviews": { "methods": { "create": { -"description": "Creates and initiates an asynchronous multi-agent review for a document.", +"description": "Creates and initiates an asynchronous multi-agent review for a document. Returns a google.longrunning.Operation. When the operation completes, the `response` field contains a `Review` and the `metadata` field contains `CreateReviewMetadata`.", "flatPath": "v1/documents/{documentsId}/reviews", "httpMethod": "POST", "id": "deepreview.documents.reviews.create", @@ -218,7 +253,7 @@ ], "parameters": { "parent": { -"description": "Required. The parent Document resource name where this review will be created. Format: `documents/{document}`", +"description": "Required. The parent Document resource name where this review will be created.", "location": "path", "pattern": "^documents/[^/]+$", "required": true, @@ -243,6 +278,7 @@ "$ref": "Operation" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] }, @@ -256,7 +292,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the review to retrieve. Format: `documents/{document}/reviews/{review}`", +"description": "Required. The resource name of the review to retrieve.", "location": "path", "pattern": "^documents/[^/]+/reviews/[^/]+$", "required": true, @@ -268,6 +304,7 @@ "$ref": "Review" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] }, @@ -281,17 +318,17 @@ ], "parameters": { "filter": { -"description": "Optional. Supported AIP-160 filter expressions.", +"description": "Optional. Custom filter expressions are not currently supported; non-empty values return INVALID_ARGUMENT.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Supported AIP-132 order_by field.", +"description": "Optional. Custom order_by expressions are not currently supported; non-empty values return INVALID_ARGUMENT.", "location": "query", "type": "string" }, "pageSize": { -"description": "Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"description": "Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 100; values above 100 will be coerced to 100.", "format": "int32", "location": "query", "type": "integer" @@ -302,7 +339,7 @@ "type": "string" }, "parent": { -"description": "Required. The parent Document resource name. Format: `documents/{document}`", +"description": "Required. The parent Document resource name.", "location": "path", "pattern": "^documents/[^/]+$", "required": true, @@ -314,6 +351,7 @@ "$ref": "ListReviewsResponse" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] } @@ -324,7 +362,7 @@ "media": { "methods": { "download": { -"description": "Downloads the original document content (PDF binary) via Scotty media streaming (AIP-136 custom method).", +"description": "Downloads the original document content (PDF binary) using media streaming. Pass `alt=media` as a query parameter to stream the binary PDF bytes. Without `alt=media`, a JSON response is returned.", "flatPath": "v1/documents/{documentsId}:download", "httpMethod": "GET", "id": "deepreview.media.download", @@ -333,7 +371,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the document to download. Format: `documents/{document}`", +"description": "Required. The resource name of the document to download.", "location": "path", "pattern": "^documents/[^/]+$", "required": true, @@ -345,13 +383,14 @@ "$ref": "DownloadDocumentResponse" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ], "supportsMediaDownload": true, "useMediaDownloadService": true }, "upload": { -"description": "Creates a new Document resource and ingests the manuscript via Scotty or Google Drive.", +"description": "Creates a new Document resource and ingests the manuscript using media upload or Google Drive.", "flatPath": "v1/documents", "httpMethod": "POST", "id": "deepreview.media.upload", @@ -392,6 +431,7 @@ "$ref": "Document" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ], "supportsMediaUpload": true @@ -399,107 +439,6 @@ } }, "operations": { -"methods": { -"cancel": { -"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", -"flatPath": "v1/operations/{operationsId}:cancel", -"httpMethod": "POST", -"id": "deepreview.operations.cancel", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be cancelled.", -"location": "path", -"pattern": "^operations/.*$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}:cancel", -"request": { -"$ref": "CancelOperationRequest" -}, -"response": { -"$ref": "Empty" -}, -"scopes": [ -"https://www.googleapis.com/auth/drive.file" -] -}, -"delete": { -"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", -"flatPath": "v1/operations/{operationsId}", -"httpMethod": "DELETE", -"id": "deepreview.operations.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "The name of the operation resource to be deleted.", -"location": "path", -"pattern": "^operations/.*$", -"required": true, -"type": "string" -} -}, -"path": "v1/{+name}", -"response": { -"$ref": "Empty" -}, -"scopes": [ -"https://www.googleapis.com/auth/drive.file" -] -}, -"list": { -"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", -"flatPath": "v1/operations", -"httpMethod": "GET", -"id": "deepreview.operations.list", -"parameterOrder": [ -"name" -], -"parameters": { -"filter": { -"description": "The standard list filter.", -"location": "query", -"type": "string" -}, -"name": { -"description": "The name of the operation's parent resource.", -"location": "path", -"pattern": "^operations$", -"required": true, -"type": "string" -}, -"pageSize": { -"description": "The standard list page size.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "The standard list page token.", -"location": "query", -"type": "string" -}, -"returnPartialSuccess": { -"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1/{+name}", -"response": { -"$ref": "ListOperationsResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/drive.file" -] -} -}, "resources": { "documents": { "resources": { @@ -527,6 +466,7 @@ "$ref": "Operation" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] } @@ -548,7 +488,7 @@ ], "parameters": { "name": { -"description": "Required. The resource name of the singleton user quota to retrieve. Format: `userQuota`", +"description": "Required. The resource name of the singleton user quota to retrieve.", "location": "path", "pattern": "^userQuota$", "required": true, @@ -560,13 +500,14 @@ "$ref": "UserQuota" }, "scopes": [ +"https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/drive.file" ] } } } }, -"revision": "20261020", +"revision": "20261030", "rootUrl": "https://deepreview.googleapis.com/", "schemas": { "AnchoredReviewComment": { @@ -642,12 +583,6 @@ }, "type": "object" }, -"CancelOperationRequest": { -"description": "The request message for Operations.CancelOperation.", -"id": "CancelOperationRequest", -"properties": {}, -"type": "object" -}, "CitationMetadata": { "description": "Structured bibliographic metadata for an extracted or retrieved work.", "id": "CitationMetadata", @@ -750,7 +685,7 @@ "Reference metadata matches scholarly database record.", "Minor discrepancy (e.g., publication year off by 1 or venue variation).", "Major discrepancy in authors, year, or venue.", -"Reference verified via Google Search grounding.", +"Reference verified using Google Search grounding.", "Reference not found in scholarly databases and unverified by search.", "Reference flagged as likely hallucinated by Google Search grounding.", "Non-paper entry (e.g., software package or URL) skipped during lookup." @@ -788,7 +723,7 @@ "Reference metadata matches scholarly database record.", "Minor discrepancy (e.g., publication year off by 1 or venue variation).", "Major discrepancy in authors, year, or venue.", -"Reference verified via Google Search grounding.", +"Reference verified using Google Search grounding.", "Reference not found in scholarly databases and unverified by search.", "Reference flagged as likely hallucinated by Google Search grounding.", "Non-paper entry (e.g., software package or URL) skipped during lookup." @@ -883,7 +818,23 @@ "type": "boolean" }, "model": { -"description": "Optional. The Gemini model name/version to use (e.g., \"gemini-1.5-pro\", \"gemini-2.0-flash\").", +"description": "Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT.", +"type": "string" +}, +"thinkingLevel": { +"description": "Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.", +"enum": [ +"THINKING_LEVEL_UNSPECIFIED", +"THINKING_LEVEL_LOW", +"THINKING_LEVEL_MEDIUM", +"THINKING_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default unspecified thinking level. The server uses its default thinking level (`THINKING_LEVEL_MEDIUM`).", +"Low reasoning effort for faster turnaround and lower token cost.", +"Balanced reasoning effort. Used by default and for all reviews created without a developer Bring-Your-Own-Key Gemini API key.", +"Maximum reasoning effort for deep mathematical, theoretical, and logical verification." +], "type": "string" }, "topology": { @@ -896,7 +847,7 @@ "LOW" ], "enumDescriptions": [ -"Default unspecified topology. The backend defaults to standard high quality.", +"Default unspecified topology. The server uses its default topology (`MID`).", "Extra high quality topology with exhaustive evaluation passes.", "Standard high quality conference review topology.", "Medium quality topology balancing review latency and depth.", @@ -912,7 +863,7 @@ "type": "object" }, "Document": { -"description": "Document Resource Model representing an uploaded document for review. Documents are immutable post-creation; to review a new version, create a new Document.", +"description": "A document uploaded for automated review. Documents are immutable post-creation; to review a new version, create a new Document.", "id": "Document", "properties": { "createTime": { @@ -931,7 +882,7 @@ }, "latestReviewSummary": { "$ref": "ReviewSummary", -"description": "Output only. Summary of the most recent review run for this document, if any.", +"description": "Output only. Summary of the most recent review run for this document, if any. Populated by `GetDocument` and `ListDocuments`; unset on the document returned by `CreateDocument`, which has no reviews yet.", "readOnly": true }, "name": { @@ -942,7 +893,7 @@ "type": "object" }, "DocumentLocation": { -"description": "Polymorphic location targeting either a PDF page region/quote or text lines.", +"description": "A location targeting either a PDF page region/quote or text lines in the document.", "id": "DocumentLocation", "properties": { "pdf": { @@ -959,7 +910,7 @@ "type": "object" }, "DownloadDocumentResponse": { -"description": "Response message for downloading a Document's raw content via Scotty media.", +"description": "Response message for downloading a Document's raw content using media download.", "id": "DownloadDocumentResponse", "properties": {}, "type": "object" @@ -982,7 +933,7 @@ "type": "boolean" }, "revisionId": { -"description": "Optional. Input only. Immutable. Specific revision ID to import (defaults to latest head revision).", +"description": "Optional. Input only. Immutable. Importing a specific revision is not currently supported; non-empty values return INVALID_ARGUMENT.", "type": "string" } }, @@ -994,6 +945,41 @@ "properties": {}, "type": "object" }, +"EstimateReviewCostRequest": { +"description": "Request message for estimating what a review would cost.", +"id": "EstimateReviewCostRequest", +"properties": { +"review": { +"$ref": "Review", +"description": "Required. The review to estimate, as it would be passed to `CreateReview`. Only its `run_config` is read, and `gemini_api_key` is ignored." +} +}, +"type": "object" +}, +"EstimateReviewCostResponse": { +"description": "Response message for estimating what a review would cost. When the cost can't be estimated, for example because too few past reviews used the same model, depth, and thinking level, the costs are unset and `past_review_count` is 0.", +"id": "EstimateReviewCostResponse", +"properties": { +"highCost": { +"$ref": "Money", +"description": "The 95th percentile of what comparable past reviews would cost for this document." +}, +"lowCost": { +"$ref": "Money", +"description": "The 20th percentile of what comparable past reviews would cost for this document." +}, +"medianCost": { +"$ref": "Money", +"description": "The median of what comparable past reviews would cost for this document." +}, +"pastReviewCount": { +"description": "Number of past reviews the estimate is based on.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "FieldComparison": { "description": "Per-field comparison result between extracted and retrieved metadata.", "id": "FieldComparison", @@ -1051,45 +1037,41 @@ }, "type": "object" }, -"ListOperationsResponse": { -"description": "The response message for Operations.ListOperations.", -"id": "ListOperationsResponse", +"ListReviewsResponse": { +"description": "Response message for listing Review resources.", +"id": "ListReviewsResponse", "properties": { "nextPageToken": { -"description": "The standard List next-page token.", +"description": "A token to retrieve the next page of results, or empty if no further pages exist.", "type": "string" }, -"operations": { -"description": "A list of operations that matches the specified filter in the request.", -"items": { -"$ref": "Operation" -}, -"type": "array" -}, -"unreachable": { -"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"reviews": { +"description": "The list of Review resources.", "items": { -"type": "string" +"$ref": "Review" }, "type": "array" } }, "type": "object" }, -"ListReviewsResponse": { -"description": "Response message for listing Review resources.", -"id": "ListReviewsResponse", +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", "properties": { -"nextPageToken": { -"description": "A token to retrieve the next page of results, or empty if no further pages exist.", +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", "type": "string" }, -"reviews": { -"description": "The list of Review resources.", -"items": { -"$ref": "Review" +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" }, -"type": "array" +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" } }, "type": "object" @@ -1212,7 +1194,7 @@ "type": "object" }, "Review": { -"description": "Review Sub-Resource Model representing an evaluation run of a document.", +"description": "An evaluation run of a document.", "id": "Review", "properties": { "createTime": { @@ -1285,7 +1267,7 @@ "type": "string" }, "review": { -"description": "Output only. Resource name of the Review. Format: `documents/{document}/reviews/{review}`", +"description": "Output only. Resource name of the Review.", "readOnly": true, "type": "string" }, @@ -1375,7 +1357,7 @@ "type": "object" }, "TextQuoteSelector": { -"description": "W3C Web Annotation TextQuoteSelector for resilient text anchoring (https://www.w3.org/TR/annotation-model/#text-quote-selector).", +"description": "W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details).", "id": "TextQuoteSelector", "properties": { "exact": { diff --git a/googleapiclient/discovery_cache/documents/developerconnect.v1.json b/googleapiclient/discovery_cache/documents/developerconnect.v1.json index c9c5c74881..f3f603ab49 100644 --- a/googleapiclient/discovery_cache/documents/developerconnect.v1.json +++ b/googleapiclient/discovery_cache/documents/developerconnect.v1.json @@ -566,12 +566,12 @@ ], "parameters": { "filter": { -"description": "Optional. Filtering results", +"description": "Optional. Filtering results.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Hint for how to order the results", +"description": "Optional. Hint for how to order the results.", "location": "query", "type": "string" }, @@ -834,12 +834,12 @@ ], "parameters": { "filter": { -"description": "Optional. Filtering results", +"description": "Optional. Filtering results.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Hint for how to order the results", +"description": "Optional. Hint for how to order the results.", "location": "query", "type": "string" }, @@ -911,7 +911,7 @@ ], "parameters": { "connectionId": { -"description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC", +"description": "Required. The ID to use for the connection, which becomes the final component of the connection's resource name.", "location": "query", "type": "string" }, @@ -1080,12 +1080,12 @@ ], "parameters": { "filter": { -"description": "Optional. Filtering results", +"description": "Optional. Filtering results.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Hint for how to order the results", +"description": "Optional. Hint for how to order the results.", "location": "query", "type": "string" }, @@ -1194,6 +1194,62 @@ "resources": { "gitRepositoryLinks": { "methods": { +"addPullRequestComment": { +"description": "Add a comment to a Pull Request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:addPullRequestComment", +"httpMethod": "POST", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.addPullRequestComment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:addPullRequestComment", +"request": { +"$ref": "AddGitRepositoryLinkPullRequestCommentRequest" +}, +"response": { +"$ref": "PullRequestComment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"addPullRequestReviewComment": { +"description": "Add a review comment (inline on diff) to a Pull Request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:addPullRequestReviewComment", +"httpMethod": "POST", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.addPullRequestReviewComment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:addPullRequestReviewComment", +"request": { +"$ref": "AddGitRepositoryLinkPullRequestReviewCommentRequest" +}, +"response": { +"$ref": "PullRequestReviewComment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "create": { "description": "Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks", @@ -1277,6 +1333,201 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"diffCommit": { +"description": "Diff commits for a GitRepositoryLink.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:diffCommit", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.diffCommit", +"parameterOrder": [ +"name" +], +"parameters": { +"baseSha": { +"description": "Required. The base commit SHA or ref.", +"location": "query", +"type": "string" +}, +"headSha": { +"description": "Required. The head commit SHA or ref.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the GitRepositoryLink.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"pathFilters": { +"description": "Optional. Path patterns or exact paths to filter returned files. When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `[\"**\"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty).", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+name}:diffCommit", +"response": { +"$ref": "DiffGitRepositoryLinkCommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchCommit": { +"description": "Fetch Commit details from a Git repository link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchCommit", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchCommit", +"parameterOrder": [ +"name" +], +"parameters": { +"commitSha": { +"description": "Required. The commit SHA, or symbolic revision (for example, branch name, tag, or Git reference).", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"pathFilters": { +"description": "Optional. Path patterns or exact paths to filter returned files (only applicable in `FULL` view). When `path_filters` is specified, `FileDiff.patch` is populated for all matching files (use `[\"**\"]` to include patches for all changed files). When `path_filters` is omitted or empty, the full list of `FileDiff` is returned without patch diffs (`FileDiff.patch` is empty).", +"location": "query", +"repeated": true, +"type": "string" +}, +"view": { +"description": "Optional. The level of commit details to return in the response. Defaults to `FULL` if unspecified. In `FULL` view, `files` metadata (paths and statuses) are returned; `path_filters` must also be specified to populate line patch hunks.", +"enum": [ +"COMMIT_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified, defaults to BASIC.", +"Basic view, returns commit metadata but no file diffs.", +"Full view, returns commit metadata and file diffs." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchCommit", +"response": { +"$ref": "FetchGitRepositoryLinkCommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchCommitList": { +"description": "Fetch a list of Commits from a Git repository link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchCommitList", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchCommitList", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of results to return in the list. Default is 50. Max is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FetchGitRepositoryLinkCommitList` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchGitRepositoryLinkCommitList` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"ref": { +"description": "Optional. The commit SHA, or symbolic revision (for example, branch name, tag, or Git reference) from which to start listing commits.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Optional. The level of commit details to return in the response. Only `BASIC` is supported; `FULL` returns `INVALID_ARGUMENT`. Defaults to `BASIC` if unspecified. Use `FetchGitRepositoryLinkCommit` to get file diffs for a single commit.", +"enum": [ +"COMMIT_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified, defaults to BASIC.", +"Basic view, returns commit metadata but no file diffs.", +"Full view, returns commit metadata and file diffs." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchCommitList", +"response": { +"$ref": "FetchGitRepositoryLinkCommitListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchFileBlame": { +"description": "Fetches blame information for a file or line range in a file.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchFileBlame", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchFileBlame", +"parameterOrder": [ +"name" +], +"parameters": { +"firstLine": { +"description": "Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"lastLine": { +"description": "Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"path": { +"description": "Required. The file path within the repository.", +"location": "query", +"type": "string" +}, +"ref": { +"description": "Required. The SCM commit SHA, or symbolic revision (for example, branch name, tag) from which to fetch the blame.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchFileBlame", +"response": { +"$ref": "FetchGitRepositoryLinkFileBlameResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "fetchGitRefs": { "description": "Fetch the list of branches or tags for a given repository.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchGitRefs", @@ -1328,6 +1579,77 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"fetchPullRequest": { +"description": "Fetch Pull Request details from a Git repository link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchPullRequest", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchPullRequest", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"pullRequestId": { +"description": "Required. The ID of the Pull Request.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchPullRequest", +"response": { +"$ref": "PullRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchPullRequestList": { +"description": "Fetches a list of Pull Requests from the remote repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchPullRequestList", +"httpMethod": "GET", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchPullRequestList", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression that filters the pull requests returned in the response. Only a single equality comparison on `state` is supported, for example `state = \"OPEN\"`. Supported values are `OPEN`, `CLOSED`, and `MERGED`. `DECLINED` is only supported for SCM providers that support declining pull requests, and returns `INVALID_ARGUMENT` for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise. Other values or expressions return `INVALID_ARGUMENT`. Defaults to `state = \"OPEN\"` if unspecified.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of results to return in the list. Default is 20. Max is 100. A page may contain fewer than `page_size` results even when more results are available; use `next_page_token` to check for more pages.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FetchGitRepositoryLinkPullRequestList` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchPullRequestList", +"response": { +"$ref": "FetchGitRepositoryLinkPullRequestListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "fetchReadToken": { "description": "Fetches read token of a given gitRepositoryLink.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchReadToken", @@ -1419,12 +1741,12 @@ ], "parameters": { "filter": { -"description": "Optional. Filtering results", +"description": "Optional. Filtering results.", "location": "query", "type": "string" }, "orderBy": { -"description": "Optional. Hint for how to order the results", +"description": "Optional. Hint for how to order the results.", "location": "query", "type": "string" }, @@ -1440,7 +1762,7 @@ "type": "string" }, "parent": { -"description": "Required. Parent value for ListGitRepositoryLinksRequest", +"description": "Required. Parent value for ListGitRepositoryLinksRequest.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -1455,6 +1777,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, +"modifyPullRequest": { +"description": "Modifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:modifyPullRequest", +"httpMethod": "POST", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.modifyPullRequest", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:modifyPullRequest", +"request": { +"$ref": "ModifyGitRepositoryLinkPullRequestRequest" +}, +"response": { +"$ref": "PullRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"openPullRequest": { +"description": "Opens a Pull Request in the remote SCM repository associated with a GitRepositoryLink.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:openPullRequest", +"httpMethod": "POST", +"id": "developerconnect.projects.locations.connections.gitRepositoryLinks.openPullRequest", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The GitRepositoryLink resource name in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:openPullRequest", +"request": { +"$ref": "OpenGitRepositoryLinkPullRequestRequest" +}, +"response": { +"$ref": "PullRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, "processBitbucketCloudWebhook": { "description": "ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:processBitbucketCloudWebhook", @@ -1965,7 +2343,7 @@ } } }, -"revision": "20261002", +"revision": "20261025", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "AccountConnector": { @@ -2013,19 +2391,53 @@ "$ref": "ProviderOAuthConfig", "description": "Optional. Provider OAuth config." }, -"proxyConfig": { -"$ref": "ProxyConfig", -"description": "Optional. Configuration for the http and git proxy features." +"proxyConfig": { +"$ref": "ProxyConfig", +"description": "Optional. Configuration for the http and git proxy features." +}, +"uid": { +"description": "Output only. A system-assigned unique identifier for the Account Connector.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the accountConnector was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AddGitRepositoryLinkPullRequestCommentRequest": { +"description": "Request message for AddGitRepositoryLinkPullRequestComment.", +"id": "AddGitRepositoryLinkPullRequestCommentRequest", +"properties": { +"comment": { +"$ref": "PullRequestComment", +"description": "Required. The comment to add." +}, +"pullRequestId": { +"description": "Required. The ID of the Pull Request.", +"type": "string" +} +}, +"type": "object" +}, +"AddGitRepositoryLinkPullRequestReviewCommentRequest": { +"description": "Request message for AddGitRepositoryLinkPullRequestReviewComment.", +"id": "AddGitRepositoryLinkPullRequestReviewCommentRequest", +"properties": { +"comment": { +"$ref": "PullRequestReviewComment", +"description": "Required. The review comment to add." }, -"uid": { -"description": "Output only. A system-assigned unique identifier for the Account Connector.", -"readOnly": true, +"commitId": { +"description": "Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.", "type": "string" }, -"updateTime": { -"description": "Output only. The timestamp when the accountConnector was updated.", -"format": "google-datetime", -"readOnly": true, +"pullRequestId": { +"description": "Required. The ID of the Pull Request.", "type": "string" } }, @@ -2234,6 +2646,27 @@ }, "type": "object" }, +"BlameRange": { +"description": "BlameRange represents blame information for a range of lines.", +"id": "BlameRange", +"properties": { +"commit": { +"$ref": "SCMCommit", +"description": "The commit metadata for this line range." +}, +"firstLine": { +"description": "The 1-indexed starting line number of the range (inclusive).", +"format": "int32", +"type": "integer" +}, +"lastLine": { +"description": "The 1-indexed ending line number of the range (inclusive).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -2260,7 +2693,7 @@ "description": "Configuration for connections to an instance of Bitbucket Data Center." }, "createTime": { -"description": "Output only. [Output only] Create timestamp", +"description": "Output only. Create timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2270,7 +2703,7 @@ "description": "Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature." }, "deleteTime": { -"description": "Output only. [Output only] Delete timestamp", +"description": "Output only. Delete timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2285,7 +2718,7 @@ }, "gitProxyConfig": { "$ref": "GitProxyConfig", -"description": "Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy)." +"description": "Optional. Configuration for the Git proxy feature. Enabling the Git proxy allows clients to perform Git operations on the repositories linked in the connection. [Learn more](https://docs.cloud.google.com/developer-connect/docs/configure-git-proxy)." }, "githubConfig": { "$ref": "GitHubConfig", @@ -2338,7 +2771,7 @@ "type": "string" }, "updateTime": { -"description": "Output only. [Output only] Update timestamp", +"description": "Output only. Update timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2492,6 +2925,20 @@ }, "type": "object" }, +"DiffGitRepositoryLinkCommitResponse": { +"description": "Response message for DiffGitRepositoryLinkCommit.", +"id": "DiffGitRepositoryLinkCommitResponse", +"properties": { +"files": { +"description": "The file diff extracted from the unified diff.", +"items": { +"$ref": "FileDiff" +}, +"type": "array" +} +}, +"type": "object" +}, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -2578,6 +3025,74 @@ }, "type": "object" }, +"FetchGitRepositoryLinkCommitListResponse": { +"description": "Response message for FetchGitRepositoryLinkCommitList.", +"id": "FetchGitRepositoryLinkCommitListResponse", +"properties": { +"commits": { +"description": "The list of commit metadata.", +"items": { +"$ref": "SCMCommit" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"FetchGitRepositoryLinkCommitResponse": { +"description": "Response message for FetchGitRepositoryLinkCommit.", +"id": "FetchGitRepositoryLinkCommitResponse", +"properties": { +"commit": { +"$ref": "SCMCommit", +"description": "The commit metadata." +}, +"files": { +"description": "List of file changes and patch diffs. Omitted when view is `BASIC`. Patch diffs (`FileDiff.patch`) are only populated when `path_filters` is specified in the request.", +"items": { +"$ref": "FileDiff" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchGitRepositoryLinkFileBlameResponse": { +"description": "Response message for FetchGitRepositoryLinkFileBlame.", +"id": "FetchGitRepositoryLinkFileBlameResponse", +"properties": { +"ranges": { +"description": "The list of blame ranges for the file.", +"items": { +"$ref": "BlameRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchGitRepositoryLinkPullRequestListResponse": { +"description": "Response message for FetchGitRepositoryLinkPullRequestList.", +"id": "FetchGitRepositoryLinkPullRequestListResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"pullRequests": { +"description": "The list of pull requests.", +"items": { +"$ref": "PullRequest" +}, +"type": "array" +} +}, +"type": "object" +}, "FetchLinkableGitRepositoriesResponse": { "description": "Response message for FetchLinkableGitRepositories.", "id": "FetchLinkableGitRepositoriesResponse", @@ -2681,6 +3196,25 @@ }, "type": "object" }, +"FileDiff": { +"description": "Message for a file diff.", +"id": "FileDiff", +"properties": { +"patch": { +"description": "Standard unified diff patch hunk for the file. Only populated when `path_filters` is specified in the request; otherwise empty.", +"type": "string" +}, +"path": { +"description": "Relative path to the file in the repository.", +"type": "string" +}, +"status": { +"description": "Status of change: \"ADDED\", \"MODIFIED\", \"REMOVED\", \"RENAMED\".", +"type": "string" +} +}, +"type": "object" +}, "FinishOAuthResponse": { "description": "Message for responding to finishing an OAuth flow.", "id": "FinishOAuthResponse", @@ -2890,7 +3424,7 @@ "id": "GitProxyConfig", "properties": { "enabled": { -"description": "Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.", +"description": "Optional. Setting this to true allows the Git proxy to be used for performing Git operations on the repositories linked in the connection.", "type": "boolean" }, "httpProxyBaseUri": { @@ -2917,13 +3451,13 @@ "type": "string" }, "createTime": { -"description": "Output only. [Output only] Create timestamp", +"description": "Output only. Create timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" }, "deleteTime": { -"description": "Output only. [Output only] Delete timestamp", +"description": "Output only. Delete timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2933,7 +3467,7 @@ "type": "string" }, "gitProxyUri": { -"description": "Output only. URI to access the linked repository through the Git Proxy. This field is only populated if the git proxy is enabled for the connection.", +"description": "Output only. URI to access the linked repository through the Git proxy. This field is only populated if the Git proxy is enabled for the connection.", "readOnly": true, "type": "string" }, @@ -2959,7 +3493,7 @@ "type": "string" }, "updateTime": { -"description": "Output only. [Output only] Update timestamp", +"description": "Output only. Update timestamp.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -3222,7 +3756,7 @@ "id": "ListConnectionsResponse", "properties": { "connections": { -"description": "The list of Connection", +"description": "The list of Connections.", "items": { "$ref": "Connection" }, @@ -3265,7 +3799,7 @@ "id": "ListGitRepositoryLinksResponse", "properties": { "gitRepositoryLinks": { -"description": "The list of GitRepositoryLinks", +"description": "The list of GitRepositoryLinks.", "items": { "$ref": "GitRepositoryLink" }, @@ -3444,6 +3978,43 @@ }, "type": "object" }, +"ModifyGitRepositoryLinkPullRequestRequest": { +"description": "Message for modifying SCM Pull Request.", +"id": "ModifyGitRepositoryLinkPullRequestRequest", +"properties": { +"baseRef": { +"description": "Optional. The target branch to merge into.", +"type": "string" +}, +"body": { +"description": "Optional. The body description of the Pull Request.", +"type": "string" +}, +"pullRequestId": { +"description": "Required. The SCM-specific pull request identifier (for example, \"45\").", +"type": "string" +}, +"state": { +"description": "Optional. The state of the Pull Request.", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The pull request is open.", +"The pull request is closed." +], +"type": "string" +}, +"title": { +"description": "Optional. The title of the Pull Request.", +"type": "string" +} +}, +"type": "object" +}, "OAuthCredential": { "description": "Represents an OAuth token of the account that authorized the Connection, and associated metadata.", "id": "OAuthCredential", @@ -3460,6 +4031,17 @@ }, "type": "object" }, +"OpenGitRepositoryLinkPullRequestRequest": { +"description": "Message for opening SCM Pull Request.", +"id": "OpenGitRepositoryLinkPullRequestRequest", +"properties": { +"pullRequest": { +"$ref": "PullRequest", +"description": "Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref." +} +}, +"type": "object" +}, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -3666,6 +4248,208 @@ }, "type": "object" }, +"PullRequest": { +"description": "Message representing a SCM Pull Request.", +"id": "PullRequest", +"properties": { +"author": { +"description": "Output only. The username of the author.", +"readOnly": true, +"type": "string" +}, +"baseRef": { +"description": "Required. The target commit SHA of the base branch.", +"type": "string" +}, +"body": { +"description": "Optional. The body description of the PR.", +"type": "string" +}, +"closeTime": { +"description": "Output only. When the PR was closed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the PR was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"declineTime": { +"description": "Output only. When the PR was declined. Only set for SCM providers that support declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"headRef": { +"description": "Required. The source commit SHA of the head branch.", +"type": "string" +}, +"htmlUrl": { +"description": "Output only. The HTML URL of the pull request on the SCM provider.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Required. The ID of the PR.", +"type": "string" +}, +"mergeTime": { +"description": "Output only. When the PR was merged.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"mergeability": { +"description": "Output only. The mergeability state of the pull request.", +"enum": [ +"MERGEABILITY_UNSPECIFIED", +"MERGEABLE", +"CONFLICTING", +"COMPUTING" +], +"enumDescriptions": [ +"Mergeability state is unspecified.", +"The pull request can be merged cleanly without Git conflicts.", +"The pull request has merge conflicts and cannot be merged cleanly.", +"The mergeability state is currently being computed asynchronously by the upstream SCM provider." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the PR.", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED", +"MERGED", +"DECLINED" +], +"enumDescriptions": [ +"Default value.", +"The PR is open.", +"The PR is closed.", +"The PR is merged.", +"The PR is declined. Only used by SCM providers that support declining pull requests. Never used for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is `CLOSED`." +], +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Required. The title of the PR.", +"type": "string" +}, +"updateTime": { +"description": "Output only. When the PR was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PullRequestComment": { +"description": "Message representing a SCM Pull Request Comment.", +"id": "PullRequestComment", +"properties": { +"author": { +"description": "Output only. The username of the author.", +"readOnly": true, +"type": "string" +}, +"body": { +"description": "Required. The body of the comment.", +"type": "string" +}, +"createTime": { +"description": "Output only. When the comment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The ID of the comment.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the comment was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PullRequestReviewComment": { +"description": "Message representing a SCM Pull Request Review Comment (inline on diff).", +"id": "PullRequestReviewComment", +"properties": { +"author": { +"description": "Output only. The username of the author.", +"readOnly": true, +"type": "string" +}, +"body": { +"description": "Required. The body of the comment.", +"type": "string" +}, +"commitId": { +"description": "Output only. The commit SHA the comment was actually applied to.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the comment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"firstLine": { +"description": "Optional. The first line of the comment range (inclusive). If not specified, the comment applies only to the `last_line`.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Output only. The ID of the comment.", +"readOnly": true, +"type": "string" +}, +"lastLine": { +"description": "Required. The last line of the comment range (inclusive). If `first_line` is not specified, the comment applies only to this line.", +"format": "int32", +"type": "integer" +}, +"path": { +"description": "Required. The file path to comment on.", +"type": "string" +}, +"side": { +"description": "Optional. The side of the diff to comment on. Defaults to HEAD.", +"enum": [ +"DIFF_SIDE_UNSPECIFIED", +"BASE", +"HEAD" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The side of the diff before changes (deleted or modified lines).", +"The side of the diff after changes (added or modified lines)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. When the comment was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "RuntimeConfig": { "description": "RuntimeConfig represents the runtimes where the application is deployed.", "id": "RuntimeConfig", @@ -3712,6 +4496,38 @@ }, "type": "object" }, +"SCMCommit": { +"description": "SCMCommit represents commit metadata.", +"id": "SCMCommit", +"properties": { +"author": { +"description": "The author's display name.", +"type": "string" +}, +"authorEmail": { +"description": "The author's email address.", +"type": "string" +}, +"commitTime": { +"description": "Timestamp when the commit was authored.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Commit message text.", +"type": "string" +}, +"sha": { +"description": "Full 40-character SCM commit SHA.", +"type": "string" +}, +"url": { +"description": "The SCM provider's HTML URL link for this commit.", +"type": "string" +} +}, +"type": "object" +}, "SecureSourceManagerInstanceConfig": { "description": "Configuration for connections to Secure Source Manager instance", "id": "SecureSourceManagerInstanceConfig", diff --git a/googleapiclient/discovery_cache/documents/devicerun.v1.json b/googleapiclient/discovery_cache/documents/devicerun.v1.json new file mode 100644 index 0000000000..26e98af6ed --- /dev/null +++ b/googleapiclient/discovery_cache/documents/devicerun.v1.json @@ -0,0 +1,1072 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://devicerun.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Device Run", +"description": "The Device Run API allows management, scheduling, and execution of automated sessions and workloads across device catalogs.", +"discoveryVersion": "v1", +"documentationLink": "https://docs.cloud.google.com/developer-device-platform/device-run", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "devicerun:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://devicerun.mtls.googleapis.com/", +"name": "devicerun", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "devicerun.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "devicerun.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"devices": { +"methods": { +"get": { +"description": "Returns information about a specific device.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "devicerun.projects.locations.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device. Format: `projects/{project}/locations/global/devices/{device}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CatalogDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all devices.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/devices", +"httpMethod": "GET", +"id": "devicerun.projects.locations.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which devices are returned. An empty filter returns all devices. Filtering is supported over the `Device` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `platform = \"ANDROID\"` * `platform = \"ANDROID\" AND os_version = \"34\"` * `hardware_type = \"PHYSICAL\" AND form_factor = \"PHONE\"` * `android_details.build_type = \"userdebug\"` * `availability.capacity = \"HIGH\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of devices to return. The server may return fewer items than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDevices` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the collection of devices. Format: `projects/{project}/locations/global`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/devices", +"response": { +"$ref": "CatalogListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "devicerun.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "devicerun.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "devicerun.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "devicerun.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"softwareVersions": { +"methods": { +"get": { +"description": "Returns information about a specific software version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/softwareVersions/{softwareVersionsId}", +"httpMethod": "GET", +"id": "devicerun.projects.locations.softwareVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the software version. Format: `projects/{project}/locations/global/softwareVersions/{software_version}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/softwareVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CatalogSoftwareVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all software versions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/softwareVersions", +"httpMethod": "GET", +"id": "devicerun.projects.locations.softwareVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An AIP-160 (https://google.aip.dev/160) filter expression restricting which software versions are returned. An empty filter returns all software versions. Filtering is supported over the `SoftwareVersion` fields, including nested fields via dot-path. Enum and string values must be double-quoted. Examples: * `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\"` * `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\" AND is_default = true` * `lifecycle.state = \"ACTIVE\"` * `version = \"1.4.1\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of software versions to return. The server may return fewer items than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSoftwareVersions` call. Provide this to receive the subsequent page. When paginating, all other parameters provided to `ListSoftwareVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the collection of software versions. Format: `projects/{project}/locations/global`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/softwareVersions", +"response": { +"$ref": "CatalogListSoftwareVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20261028", +"rootUrl": "https://devicerun.googleapis.com/", +"schemas": { +"CatalogAndroidDeviceDetails": { +"description": "Android-specific device attributes.", +"id": "CatalogAndroidDeviceDetails", +"properties": { +"buildType": { +"description": "Output only. Mirrors the AOSP `ro.build.type` property, e.g. \"user\", \"userdebug\", \"eng\". Empty if unknown.", +"readOnly": true, +"type": "string" +}, +"supportedAbis": { +"description": "Output only. Lists ABIs supported by the device (android.os.Build.SUPPORTED_ABIS), most preferred first, e.g. \"arm64-v8a\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CatalogAndroidxTestOrchestratorDetails": { +"description": "AndroidX Test Orchestrator-specific attributes. Reserved for future orchestrator-only fields.", +"id": "CatalogAndroidxTestOrchestratorDetails", +"properties": {}, +"type": "object" +}, +"CatalogAutomationSupport": { +"description": "Per-product metadata for the Automation (DeviceRun) product.", +"id": "CatalogAutomationSupport", +"properties": {}, +"type": "object" +}, +"CatalogDevice": { +"description": "A single routable device configuration in the catalog.", +"id": "CatalogDevice", +"properties": { +"accessDeniedReasons": { +"description": "Output only. Reasons for access denial. This model is accessible/usable if this list is empty, otherwise the model is viewable only.", +"items": { +"enum": [ +"ACCESS_DENIED_REASON_UNSPECIFIED", +"EULA_NOT_ACCEPTED" +], +"enumDescriptions": [ +"Reason not specified.", +"The device is hosted in a partner lab whose end user license agreement the project has not accepted." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"androidDetails": { +"$ref": "CatalogAndroidDeviceDetails", +"description": "Output only. Contains Android-specific attributes (set when platform == ANDROID).", +"readOnly": true +}, +"availability": { +"$ref": "CatalogDeviceAvailability", +"description": "Output only. Reports the current fleet availability for this device configuration.", +"readOnly": true +}, +"displayName": { +"description": "Output only. Provides a human-readable display name, e.g. \"Pixel 5\".", +"readOnly": true, +"type": "string" +}, +"formFactor": { +"description": "Output only. Specifies the form factor of the device.", +"enum": [ +"FORM_FACTOR_UNSPECIFIED", +"PHONE", +"TABLET", +"WEARABLE", +"TV" +], +"enumDescriptions": [ +"Form factor not specified.", +"Phone.", +"Tablet.", +"Wearable (e.g. watch).", +"TV." +], +"readOnly": true, +"type": "string" +}, +"hardwareType": { +"description": "Output only. Indicates whether the device is physical or virtual.", +"enum": [ +"HARDWARE_TYPE_UNSPECIFIED", +"PHYSICAL", +"VIRTUAL" +], +"enumDescriptions": [ +"Hardware type not specified.", +"Physical hardware device.", +"Virtual device (emulator / simulator)." +], +"readOnly": true, +"type": "string" +}, +"iosDetails": { +"$ref": "CatalogIosDeviceDetails", +"description": "Output only. Contains iOS-specific attributes (set when platform == IOS).", +"readOnly": true +}, +"labInfo": { +"$ref": "CatalogLabInfo", +"description": "Output only. The lab hosting this device.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Additional information. Informational only. May change over the lifecycle of a device.", +"readOnly": true, +"type": "object" +}, +"lifecycle": { +"$ref": "CatalogLifecycle", +"description": "Output only. The device lifecycle (maturity stage and removal date).", +"readOnly": true +}, +"manufacturer": { +"description": "Output only. Specifies the hardware manufacturer of the device.", +"readOnly": true, +"type": "string" +}, +"modelCode": { +"description": "Output only. Provides a human-readable model identifier for this device, independent of OS version. May be empty. Platform-dependent: * Android physical: hardware codename (android.os.Build.DEVICE), e.g. \"shiba\". * Android virtual: AVD model identifier, e.g. \"MediumPhone.arm\". * iOS: model identifier, e.g. \"iphone14pro\".", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Identifies the device resource. Format: `projects/{project}/locations/{location}/devices/{device}`. The {device} segment is an opaque, stable string. Clients must not parse it to derive or assume device-specific details.", +"type": "string" +}, +"osVersion": { +"description": "Output only. Specifies the OS version, e.g. \"30\" (Android API level) or \"17.4\" (iOS).", +"readOnly": true, +"type": "string" +}, +"platform": { +"description": "Output only. Specifies the platform of the device.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"Platform not specified.", +"Android.", +"iOS." +], +"readOnly": true, +"type": "string" +}, +"primaryScreen": { +"$ref": "CatalogScreenMetrics", +"description": "Output only. Measurements of the primary device screen. Informational only. Unset for devices without a screen (e.g. some wearables).", +"readOnly": true +}, +"supportedProducts": { +"description": "Output only. Products/Services supported by this device.", +"items": { +"$ref": "CatalogSupportedProduct" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CatalogDeviceAvailability": { +"description": "Fleet availability for a device configuration.", +"id": "CatalogDeviceAvailability", +"properties": { +"available": { +"description": "Output only. Specifies the current availability bucket (idle, immediately allocatable devices) for this device configuration. This is a best-effort snapshot, refreshed periodically. It fluctuates depending on traffic as other requests allocate devices.", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"AVAILABILITY_NONE", +"AVAILABILITY_LOW", +"AVAILABILITY_MEDIUM", +"AVAILABILITY_HIGH" +], +"enumDescriptions": [ +"The value of availability is unknown or unset.", +"No devices of this configuration are currently idle. A request can still be made, but it will queue until a device frees up. Expect longer wait times, and avoid requesting many devices at once (e.g. high shard counts).", +"A small number of devices are currently idle. Suitable for a few concurrent requests. Larger bursts (e.g. many shards) may queue until devices free up.", +"A moderate number of devices are currently idle. Suitable for a moderate number of concurrent requests. Very large bursts may still queue.", +"Many devices are currently idle. Suitable for a large number of concurrent requests with little to no queueing at the moment of observation." +], +"readOnly": true, +"type": "string" +}, +"capacity": { +"description": "Output only. Specifies the current capacity bucket for this device configuration. Represents the total number of online devices (idle or in use).", +"enum": [ +"CAPACITY_UNSPECIFIED", +"CAPACITY_NONE", +"CAPACITY_LOW", +"CAPACITY_MEDIUM", +"CAPACITY_HIGH" +], +"enumDescriptions": [ +"The value of device capacity is unknown or unset.", +"No online devices of this configuration. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent.", +"Devices that are low in capacity (the lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.", +"Devices that are medium in capacity (the lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).", +"Devices that are high in capacity (the lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment). 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CatalogDeviceStreamingSupport": { +"description": "Per-product metadata for the DeviceStreaming product.", +"id": "CatalogDeviceStreamingSupport", +"properties": { +"minimumAndroidStudioVersion": { +"description": "Output only. Specifies the minimum Android Studio version that supports this device. Optional; only set when the device is known to work only at or above a certain Android Studio version. Expected format \"major.minor.micro.patch\", e.g. \"5921.22.2211.8881706\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CatalogIosDeviceDetails": { +"description": "iOS-specific device attributes. Reserved for future iOS-only fields.", +"id": "CatalogIosDeviceDetails", +"properties": {}, +"type": "object" +}, +"CatalogLabInfo": { +"description": "The lab hosting a device.", +"id": "CatalogLabInfo", +"properties": { +"displayName": { +"description": "Output only. Display name of the lab where the device is hosted. If empty, the device is hosted in a Google owned lab.", +"readOnly": true, +"type": "string" +}, +"regionCode": { +"description": "Output only. The Unicode country/region code (CLDR) of the lab where the device is hosted, e.g. \"US\" for United States, \"KR\" for South Korea. Empty when the hosting region is not published.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CatalogLifecycle": { +"description": "Catalog resource lifecycle: maturity state plus key lifecycle dates.", +"id": "CatalogLifecycle", +"properties": { +"removalDate": { +"$ref": "Date", +"description": "Output only. Specifies the date the resource is scheduled to be removed from the catalog. Only set when `state == DEPRECATED`.", +"readOnly": true +}, +"state": { +"description": "Output only. Specifies the current maturity state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"PREVIEW", +"ACTIVE", +"DEPRECATED" +], +"enumDescriptions": [ +"State not specified.", +"Early access. This resource may have reduced stability and availability.", +"Generally available.", +"Still usable, but scheduled for removal." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CatalogListDevicesResponse": { +"description": "Response including listed devices.", +"id": "CatalogListDevicesResponse", +"properties": { +"devices": { +"description": "The list of devices.", +"items": { +"$ref": "CatalogDevice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to receive the next page of devices. This will be absent if the end of the response list has been reached.", +"type": "string" +} +}, +"type": "object" +}, +"CatalogListSoftwareVersionsResponse": { +"description": "Response including listed software versions.", +"id": "CatalogListSoftwareVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Token to receive the next page of software versions. This will be absent if the end of the response list has been reached.", +"type": "string" +}, +"softwareVersions": { +"description": "The list of software versions.", +"items": { +"$ref": "CatalogSoftwareVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"CatalogScreenMetrics": { +"description": "Screen measurements of a device.", +"id": "CatalogScreenMetrics", +"properties": { +"densityDpi": { +"description": "Output only. Pixel density in dots per inch (dpi).", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"heightPx": { +"description": "Output only. Height in pixels.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"widthPx": { +"description": "Output only. Width in pixels.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"CatalogSoftwareVersion": { +"description": "A single software version in the catalog.", +"id": "CatalogSoftwareVersion", +"properties": { +"androidxTestOrchestratorDetails": { +"$ref": "CatalogAndroidxTestOrchestratorDetails", +"description": "Output only. Contains AndroidX Test Orchestrator-specific attributes (set when software_type == ANDROIDX_TEST_ORCHESTRATOR).", +"readOnly": true +}, +"displayName": { +"description": "Output only. Provides a human-readable name for this version, e.g. \"AndroidX Test Orchestrator 1.4.1\".", +"readOnly": true, +"type": "string" +}, +"isDefault": { +"description": "Output only. Indicates whether the system uses this version when a request does not select one explicitly. Exactly one version per `software_type` is the default, and it may change over time.", +"readOnly": true, +"type": "boolean" +}, +"lifecycle": { +"$ref": "CatalogLifecycle", +"description": "Output only. The version lifecycle (maturity stage and removal date).", +"readOnly": true +}, +"name": { +"description": "Identifier. Identifies the software version resource. Format: `projects/{project}/locations/{location}/softwareVersions/{software_version}`. The {software_version} segment is an opaque, stable string. Clients must not parse it to derive or assume the version.", +"type": "string" +}, +"softwareType": { +"description": "Output only. Specifies which software this is a version of. Filter on this field to narrow the collection to a single kind of software, for example `software_type = \"ANDROIDX_TEST_ORCHESTRATOR\"`.", +"enum": [ +"SOFTWARE_TYPE_UNSPECIFIED", +"ANDROIDX_TEST_ORCHESTRATOR", +"XCODE" +], +"enumDescriptions": [ +"Software type not specified.", +"AndroidX Test Orchestrator, which runs each Android instrumentation test case in its own process.", +"Apple Xcode, the toolchain that builds and runs iOS XCTests." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. Specifies the version identifier, e.g. \"1.4.1\". Unique within a `software_type`.", +"readOnly": true, +"type": "string" +}, +"xcodeDetails": { +"$ref": "CatalogXcodeDetails", +"description": "Output only. Contains Xcode-specific attributes (set when software_type == XCODE).", +"readOnly": true +} +}, +"type": "object" +}, +"CatalogSupportedProduct": { +"description": "Declares that a device supports a given Device Cloud product, with optional per-product metadata. Discriminated by which product-specific message is set; adding a new product = new oneof arm + new per-product message.", +"id": "CatalogSupportedProduct", +"properties": { +"automation": { +"$ref": "CatalogAutomationSupport", +"description": "Output only. Represents Automation, which is DeviceRun-backed automated test execution.", +"readOnly": true +}, +"deviceStreaming": { +"$ref": "CatalogDeviceStreamingSupport", +"description": "Output only. Represents DeviceStreaming, which is interactive remote device streaming.", +"readOnly": true +} +}, +"type": "object" +}, +"CatalogXcodeDetails": { +"description": "Xcode-specific attributes.", +"id": "CatalogXcodeDetails", +"properties": { +"supportedIosVersions": { +"description": "Output only. Lists the iOS versions this Xcode can run tests against, e.g. \"16.6\". This is a property of the toolchain, so it says nothing about whether a device on that iOS version is available; list the `Device` collection to find out.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for 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).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Device Run API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json b/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json index 88406baad8..42d6c7388e 100644 --- a/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/devicerun.v1alpha.json @@ -459,12 +459,12 @@ "type": "string" }, "requestId": { -"description": "Optional. A unique identifier for this request. This request is only idempotent if a `request_id` is provided, i.e. if a request with the same `request_id` is received, then the previous result will be returned. The server will guarantee that for at least 60 minutes after the first request. The value must be a UUID (e.g., 123e4567-e89b-12d3-a456-426655440000). See github.com/google/uuid for more details.", +"description": "Optional. A unique identifier for this request. This request is only idempotent if both `request_id` and `session_id` are provided. If a retry with the same `request_id` and `session_id` is received, then the previous result will be returned. The server will guarantee that for at least 60 minutes after the first request. If `request_id` is provided without `session_id`, the server generates a new `session_id` on each attempt, and retries with the same `request_id` will fail with `INVALID_ARGUMENT`. The value must be a UUID (e.g., 123e4567-e89b-12d3-a456-426655440000). See github.com/google/uuid for more details.", "location": "query", "type": "string" }, "sessionId": { -"description": "Optional. The ID to use for the session, which will become the final component of the resource name. If not provided, the server will generate a value for this field. When provided, this value must be between 4 and 63 characters, and match the following regex: ^a-z{2,61}[a-z0-9]$.", +"description": "Optional. The ID to use for the session, which will become the final component of the resource name. If not provided, the server will generate a value for this field. To make the request idempotent when `request_id` is specified, callers must also provide `session_id` so that retries target the same resource name. When provided, this value must be between 4 and 63 characters, and match the following regex: ^a-z{2,61}[a-z0-9]$.", "location": "query", "type": "string" } @@ -688,7 +688,7 @@ } } }, -"revision": "20261019", +"revision": "20261028", "rootUrl": "https://devicerun.googleapis.com/", "schemas": { "AllocationConfig": { @@ -1790,7 +1790,7 @@ "type": "string" }, "destinationPath": { -"description": "Required. The destination path relative to the app sandbox, e.g. \"/Documents/file.txt\".", +"description": "Required. The destination path relative to the app sandbox, e.g. \"/Documents/file.txt\". It must be in the app's \"/Documents\" directory or under \"/private/var/mobile/Media/\". This is the path of the pushed file, and missing parent directories are created. If the path is an existing directory, such as \"/Documents\", the file is placed in it under the file name of `source_file`. A trailing \"/\" does not create a directory: \"/Documents/foo/\" pushes the file to \"/Documents/foo\" unless that directory already exists.", "type": "string" }, "sourceFile": { diff --git a/googleapiclient/discovery_cache/documents/dfareporting.v5.json b/googleapiclient/discovery_cache/documents/dfareporting.v5.json index aa1eb00b48..0a25c02afa 100644 --- a/googleapiclient/discovery_cache/documents/dfareporting.v5.json +++ b/googleapiclient/discovery_cache/documents/dfareporting.v5.json @@ -10123,7 +10123,7 @@ } } }, -"revision": "20260721", +"revision": "20261023", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -10799,6 +10799,59 @@ }, "type": "object" }, +"AdditionalAsset": { +"description": "Additional assets for a creative.", +"id": "AdditionalAsset", +"properties": { +"callToActions": { +"description": "Optional. Call to actions for the creative.", +"items": { +"type": "string" +}, +"type": "array" +}, +"coverImages": { +"description": "Optional. Cover images for the creative.", +"items": { +"$ref": "CreativeAsset" +}, +"type": "array" +}, +"descriptions": { +"description": "Optional. Descriptions for the creative.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayUrl": { +"description": "Optional. Display URL for the creative.", +"type": "string" +}, +"headlines": { +"description": "Optional. Headlines for the creative.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longDescriptions": { +"description": "Optional. Long descriptions for the creative.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longHeadlines": { +"description": "Optional. Long headlines for the creative.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "AdsListResponse": { "description": "Ad List Response", "id": "AdsListResponse", @@ -12596,6 +12649,10 @@ }, "type": "array" }, +"additionalAsset": { +"$ref": "AdditionalAsset", +"description": "Optional. Additional asset for the creative. This field captures additional assets that are associated with the creative and used in the context of the social/native and YouTube platforms." +}, "additionalSizes": { "description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", "items": { @@ -12647,6 +12704,19 @@ "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", "CREATIVE_AUTHORING_SOURCE_BEGEN_AI" ], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false +], "enumDescriptions": [ "DCM-UI or external API used to author the creative.", "DBM-UI used to author the creative.", @@ -13579,7 +13649,13 @@ "OTHER", "ALTERNATE_VIDEO", "PARENT_AUDIO", -"TRANSCODED_AUDIO" +"TRANSCODED_AUDIO", +"COVER_IMAGE", +"HEADLINE", +"LONG_HEADLINE", +"DESCRIPTION", +"LONG_DESCRIPTION", +"CALL_TO_ACTION" ], "enumDescriptions": [ "", @@ -13591,7 +13667,13 @@ "", "", "", -"" +"", +"Cover image.", +"Headline.", +"Long headline.", +"Description.", +"Long description.", +"Call to action." ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2.json b/googleapiclient/discovery_cache/documents/dialogflow.v2.json index eaccc98d7d..07b97f2f67 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2.json @@ -8933,7 +8933,7 @@ } } }, -"revision": "20261018", +"revision": "20261027", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -16730,6 +16730,12 @@ true "GoogleCloudDialogflowV2InputAudioConfig": { "id": "GoogleCloudDialogflowV2InputAudioConfig", "properties": { +"alternativeLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, "audioEncoding": { "enum": [ "AUDIO_ENCODING_UNSPECIFIED", @@ -19724,6 +19730,12 @@ false "GoogleCloudDialogflowV2SpeechToTextConfig": { "id": "GoogleCloudDialogflowV2SpeechToTextConfig", "properties": { +"alternativeLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, "audioEncoding": { "enum": [ "AUDIO_ENCODING_UNSPECIFIED", diff --git a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json index 4d9d2c3f5a..8919984d55 100644 --- a/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +++ b/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json @@ -8584,7 +8584,7 @@ } } }, -"revision": "20261018", +"revision": "20261027", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -19211,6 +19211,12 @@ true "GoogleCloudDialogflowV2beta1InputAudioConfig": { "id": "GoogleCloudDialogflowV2beta1InputAudioConfig", "properties": { +"alternativeLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, "audioEncoding": { "enum": [ "AUDIO_ENCODING_UNSPECIFIED", @@ -22502,6 +22508,12 @@ false "GoogleCloudDialogflowV2beta1SpeechToTextConfig": { "id": "GoogleCloudDialogflowV2beta1SpeechToTextConfig", "properties": { +"alternativeLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, "audioEncoding": { "enum": [ "AUDIO_ENCODING_UNSPECIFIED", diff --git a/googleapiclient/discovery_cache/documents/dlp.v2.json b/googleapiclient/discovery_cache/documents/dlp.v2.json index 4528be3e71..c9dfb51345 100644 --- a/googleapiclient/discovery_cache/documents/dlp.v2.json +++ b/googleapiclient/discovery_cache/documents/dlp.v2.json @@ -5274,7 +5274,7 @@ } } }, -"revision": "20260912", +"revision": "20261028", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5975,7 +5975,8 @@ "AUDIO", "VIDEO", "EXECUTABLE", -"AI_MODEL" +"AI_MODEL", +"IMAGE_TIFF" ], "enumDescriptions": [ "Unused", @@ -5995,7 +5996,8 @@ "Audio file types. Only used for profiling.", "Video file types. Only used for profiling.", "Executable file types. Only used for profiling.", -"AI model file types. Only used for profiling." +"AI model file types. Only used for profiling.", +"TIFF image format." ], "type": "string" } @@ -9804,6 +9806,11 @@ "$ref": "GooglePrivacyDlpV2BoundingBox" }, "type": "array" +}, +"pageNumber": { +"description": "The 0-indexed page number or frame index for multi-page image formats.", +"format": "int32", +"type": "integer" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/drive.v3.json b/googleapiclient/discovery_cache/documents/drive.v3.json index 77c206fd6b..f85e938028 100644 --- a/googleapiclient/discovery_cache/documents/drive.v3.json +++ b/googleapiclient/discovery_cache/documents/drive.v3.json @@ -3044,7 +3044,7 @@ } } }, -"revision": "20261011", +"revision": "20261023", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -3453,7 +3453,7 @@ ], "enumDescriptions": [ "The behavior is unspecified.", -"Any ReviewerResponse with a Response of APPROVED will be reset to NO_DECISION when the file content changes while the approval has a Status of IN_PROGRESS. When the approval has a Status of APPROVED and RESET_APPROVAL is selected, the file is locked.", +"Any ReviewerResponse with a Response of `APPROVED` will be reset to `NO_DECISION` when the file content changes while the approval has a Status of `IN_PROGRESS`. When the approval has a Status of `APPROVED` and `RESET_APPROVAL` is selected, the file is locked.", "No action is taken when the file content changes." ], "type": "string" @@ -5654,7 +5654,7 @@ ], "enumDescriptions": [ "The behavior is unspecified.", -"Any ReviewerResponse with a Response of APPROVED will be reset to NO_DECISION when the file content changes while the approval has a Status of IN_PROGRESS. When the approval has a Status of APPROVED and RESET_APPROVAL is selected, the file is locked.", +"Any ReviewerResponse with a Response of `APPROVED` will be reset to `NO_DECISION` when the file content changes while the approval has a Status of `IN_PROGRESS`. When the approval has a Status of `APPROVED` and `RESET_APPROVAL` is selected, the file is locked.", "No action is taken when the file content changes." ], "type": "string" diff --git a/googleapiclient/discovery_cache/documents/fcm.v1.json b/googleapiclient/discovery_cache/documents/fcm.v1.json index 821f0eb1af..d42720fa93 100644 --- a/googleapiclient/discovery_cache/documents/fcm.v1.json +++ b/googleapiclient/discovery_cache/documents/fcm.v1.json @@ -316,7 +316,7 @@ } } }, -"revision": "20261018", +"revision": "20261023", "rootUrl": "https://fcm.googleapis.com/", "schemas": { "AndroidBackgroundSyncMessage": { @@ -354,7 +354,7 @@ }, "notification": { "$ref": "AndroidNotification", -"description": "Notification to send to android devices." +"description": "Notification to send to Android devices." }, "priority": { "description": "Message priority. Can take \"normal\" and \"high\" values. For more information, see [Setting the priority of a message](https://firebase.google.com/docs/cloud-messaging/customize-messages/setting-message-priority).", @@ -516,7 +516,7 @@ "type": "boolean" }, "notificationCount": { -"description": "Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.", +"description": "Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.", "format": "int32", "type": "integer" }, @@ -615,7 +615,7 @@ "type": "object" }, "AndroidNotificationV2": { -"description": "Notification v2 to send to android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API.", +"description": "Notification v2 to send to Android devices. This is a v2 version of the AndroidNotification message and will replace it in the v2 API.", "id": "AndroidNotificationV2", "properties": { "body": { @@ -667,7 +667,7 @@ "type": "string" }, "id": { -"description": "Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer.", +"description": "Optional. Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `tag` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer.", "format": "int32", "type": "integer" }, @@ -684,7 +684,7 @@ "type": "boolean" }, "notificationCount": { -"description": "Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.", +"description": "Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging. See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If non-positive or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.", "format": "int32", "type": "integer" }, @@ -717,7 +717,7 @@ "type": "boolean" }, "tag": { -"description": "Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id`)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer.", +"description": "Identifier used to replace existing notifications in the notification drawer. It is used in conjunction with `id` to form a unique identifier `(tag, id)` within the app. If not specified, each request creates a new notification. If specified and a notification with the same `(tag, id)` is already being shown, the new notification replaces the existing one in the notification drawer.", "type": "string" }, "ticker": { @@ -776,10 +776,10 @@ }, "notification": { "$ref": "AndroidNotificationV2", -"description": "Optional. Notification to send to android devices." +"description": "Optional. Notification to send to Android devices." }, "useAsV1DataMessage": { -"description": "Optional. If set to true, this RemoteNotification message will be delivered to legacy V1 clients as data messages by omitting the google.firebase.fcm.v1.Message.android_v2.remote_notification.notification. This should only be enabled when migration from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification message for legacy clients;", +"description": "Optional. If set to `true`, this RemoteNotification message will be delivered to legacy V1 clients as a data message by omitting the google.firebase.fcm.v1.AndroidRemoteNotification.notification. This should only be enabled when migrating from legacy V1 data messages. Note that by default (when set to false), RemoteNotification messages are automatically translated to V1 notification messages for legacy clients.", "type": "boolean" } }, diff --git a/googleapiclient/discovery_cache/documents/firebasecrashlytics.v1alpha.json b/googleapiclient/discovery_cache/documents/firebasecrashlytics.v1alpha.json index afb4a6b428..ded6bb248e 100644 --- a/googleapiclient/discovery_cache/documents/firebasecrashlytics.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/firebasecrashlytics.v1alpha.json @@ -731,7 +731,7 @@ "type": "string" }, "filterExpression": { -"description": "Optional. Filters the events counted in the report by custom keys. Not all reports support this filter. It is currently only supported for web apps, for the `webMetrics`, `topBrowsers`, `topOperatingSystems`, `topVersions`, and `topCustomKeys` reports. Requests for other apps or reports that set this field are rejected with INVALID_ARGUMENT. Supported forms: * Equality: `custom_keys.level = \"vip\"` * Has: `custom_keys.level:\"vip\"` (matches the same events as equality) * Presence: `custom_keys.level:*` * OR across values of one key: `custom_keys.level = \"vip\" OR custom_keys.level = \"enterprise\"` * AND across different keys: `custom_keys.level = \"vip\" AND custom_keys.region = \"us\"` Keys are case-sensitive. Keys and values containing spaces must be double-quoted, for example `custom_keys.\"app state\" = \"background\"`. OR across different keys, repeating a key within an AND, NOT, and comparators other than `=` and `:` are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; use `custom_keys.:*` to match events that set a key to any value. This filter expression applies in addition to the `filter` field above. The syntax is a subset of AIP-160 (https://google.aip.dev/160).", +"description": "Optional. Filters the events counted in the report by custom keys. Not all reports support this filter. It is currently only supported for web apps; see the report's `usage` field for whether `filter_expression` is supported. Requests for other apps or unsupported reports that set this field are rejected with `INVALID_ARGUMENT`. Supported forms: * Equality: `custom_keys.level = \"vip\"` * Has: `custom_keys.level:\"vip\"` (matches the same events as equality) * Presence: `custom_keys.level:*` * OR across values of one key: `custom_keys.level = \"vip\" OR custom_keys.level = \"enterprise\"` * AND across different keys: `custom_keys.level = \"vip\" AND custom_keys.region = \"us\"` Keys are case-sensitive. Keys and values containing spaces must be double-quoted, for example `custom_keys.\"app state\" = \"background\"`. OR across different keys, repeating a key within an AND, NOT, and comparators other than `=` and `:` are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; use `custom_keys.:*` to match events that set a key to any value. This filter expression applies in addition to the `filter` field above. The syntax is a subset of AIP-160 (https://google.aip.dev/160).", "location": "query", "type": "string" }, @@ -888,7 +888,7 @@ } } }, -"revision": "20261022", +"revision": "20261029", "rootUrl": "https://firebasecrashlytics.googleapis.com/", "schemas": { "BatchGetEventsResponse": { diff --git a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json index 3a3c9edca7..680c5ef44c 100644 --- a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +++ b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, -"revision": "20261018", +"revision": "20261025", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -649,7 +649,8 @@ "UNEXPECTED_TOOL_CALL", "NO_IMAGE", "MALFORMED_RESPONSE", -"CONTINUATION" +"CONTINUATION", +"TOO_MANY_TOOL_CALLS" ], "enumDescriptions": [ "The finish reason is unspecified.", @@ -670,7 +671,8 @@ "The model generated a function call that is semantically invalid. This can happen, for example, if function calling is not enabled or the generated function is not in the function declaration.", "The model was expected to generate an image, but didn't.", "Finishes due to malformed response.", -"Token generation was stopped because the response reached the per-request token limit, but generation is not yet complete. The model response can be continued via a subsequent request using the returned `continuation_token`." +"Token generation was stopped because the response reached the per-request token limit, but generation is not yet complete. The model response can be continued via a subsequent request using the returned `continuation_token`.", +"The model made too many tool calls in a single request, so the server-side tool loop stopped before the model returned a final answer." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/ftp.v1.json b/googleapiclient/discovery_cache/documents/ftp.v1.json index 208d7f926f..5d190fc6be 100644 --- a/googleapiclient/discovery_cache/documents/ftp.v1.json +++ b/googleapiclient/discovery_cache/documents/ftp.v1.json @@ -335,7 +335,7 @@ "type": "string" }, "serverId": { -"description": "Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Maximum length is 30 characters.", +"description": "Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Can't begin with the prefix `goog` or contain the string `google`, including close misspellings such as `g00gle`. Maximum length is 30 characters.", "location": "query", "type": "string" } @@ -788,7 +788,7 @@ } } }, -"revision": "20260909", +"revision": "20261021", "rootUrl": "https://ftp.googleapis.com/", "schemas": { "AllowedConsumer": { diff --git a/googleapiclient/discovery_cache/documents/ftp.v1alpha.json b/googleapiclient/discovery_cache/documents/ftp.v1alpha.json index f14acc4964..5d742be6c2 100644 --- a/googleapiclient/discovery_cache/documents/ftp.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/ftp.v1alpha.json @@ -335,7 +335,7 @@ "type": "string" }, "serverId": { -"description": "Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Maximum length is 30 characters.", +"description": "Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Can't begin with the prefix `goog` or contain the string `google`, including close misspellings such as `g00gle`. Maximum length is 30 characters.", "location": "query", "type": "string" } @@ -788,7 +788,7 @@ } } }, -"revision": "20260909", +"revision": "20261021", "rootUrl": "https://ftp.googleapis.com/", "schemas": { "AllowedConsumer": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1.json b/googleapiclient/discovery_cache/documents/gkehub.v1.json index b0e7571d5c..127b1f079b 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1.json @@ -2596,7 +2596,7 @@ } } }, -"revision": "20261017", +"revision": "20261025", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -7059,7 +7059,7 @@ "type": "object" }, "RolloutSequence": { -"description": "RolloutSequence defines the desired order of upgrades. Next ID: 20", +"description": "RolloutSequence defines the desired order of upgrades. Next ID: 22", "id": "RolloutSequence", "properties": { "autoUpgradeConfig": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json index 8754566e85..c793b6bb28 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json @@ -2740,7 +2740,7 @@ } } }, -"revision": "20261017", +"revision": "20261025", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -7572,7 +7572,7 @@ "type": "object" }, "RolloutSequence": { -"description": "RolloutSequence defines the desired order of upgrades. Next ID: 20", +"description": "RolloutSequence defines the desired order of upgrades. Next ID: 22", "id": "RolloutSequence", "properties": { "autoUpgradeConfig": { diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1beta.json b/googleapiclient/discovery_cache/documents/gkehub.v1beta.json index bcba3dce17..ed8c5bc251 100644 --- a/googleapiclient/discovery_cache/documents/gkehub.v1beta.json +++ b/googleapiclient/discovery_cache/documents/gkehub.v1beta.json @@ -2596,7 +2596,7 @@ } } }, -"revision": "20261017", +"revision": "20261025", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -7185,7 +7185,7 @@ "type": "object" }, "RolloutSequence": { -"description": "RolloutSequence defines the desired order of upgrades. Next ID: 20", +"description": "RolloutSequence defines the desired order of upgrades. Next ID: 22", "id": "RolloutSequence", "properties": { "autoUpgradeConfig": { diff --git a/googleapiclient/discovery_cache/documents/health.v4.json b/googleapiclient/discovery_cache/documents/health.v4.json index d21cda7559..7ddc9eacbf 100644 --- a/googleapiclient/discovery_cache/documents/health.v4.json +++ b/googleapiclient/discovery_cache/documents/health.v4.json @@ -534,15 +534,25 @@ }, "scopes": [ "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", +"https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly", "https://www.googleapis.com/auth/googlehealth.ecg.readonly", "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", +"https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly", "https://www.googleapis.com/auth/googlehealth.irn.readonly", +"https://www.googleapis.com/auth/googlehealth.location.readonly", "https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly", +"https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly", "https://www.googleapis.com/auth/googlehealth.mindfulness.readonly", +"https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly", +"https://www.googleapis.com/auth/googlehealth.nutrition.writeonly", "https://www.googleapis.com/auth/googlehealth.profile.readonly", +"https://www.googleapis.com/auth/googlehealth.profile.writeonly", "https://www.googleapis.com/auth/googlehealth.reproductive_health.readonly", +"https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly", "https://www.googleapis.com/auth/googlehealth.settings.readonly", -"https://www.googleapis.com/auth/googlehealth.sleep.readonly" +"https://www.googleapis.com/auth/googlehealth.settings.writeonly", +"https://www.googleapis.com/auth/googlehealth.sleep.readonly", +"https://www.googleapis.com/auth/googlehealth.sleep.writeonly" ] }, "getIrnProfile": { @@ -1149,7 +1159,7 @@ } } }, -"revision": "20261016", +"revision": "20261030", "rootUrl": "https://health.googleapis.com/", "schemas": { "ActiveEnergyBurned": { @@ -2008,7 +2018,7 @@ "type": "string" }, "pageSize": { -"description": "Optional. The maximum number of data points to return. If unspecified, at most 90 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly.", +"description": "Optional. The maximum number of data points to return. If unspecified, at most `90` data points will be returned. The maximum page size is `90`. For `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes`, and `total-calories`, the default and maximum page size is `14`.", "format": "int32", "type": "integer" }, diff --git a/googleapiclient/discovery_cache/documents/health.v4beta.json b/googleapiclient/discovery_cache/documents/health.v4beta.json index 15d3f74f52..a5c602b9b5 100644 --- a/googleapiclient/discovery_cache/documents/health.v4beta.json +++ b/googleapiclient/discovery_cache/documents/health.v4beta.json @@ -534,15 +534,25 @@ }, "scopes": [ "https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly", +"https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly", "https://www.googleapis.com/auth/googlehealth.ecg.readonly", "https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly", +"https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly", "https://www.googleapis.com/auth/googlehealth.irn.readonly", +"https://www.googleapis.com/auth/googlehealth.location.readonly", "https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly", +"https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly", "https://www.googleapis.com/auth/googlehealth.mindfulness.readonly", +"https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly", +"https://www.googleapis.com/auth/googlehealth.nutrition.writeonly", "https://www.googleapis.com/auth/googlehealth.profile.readonly", +"https://www.googleapis.com/auth/googlehealth.profile.writeonly", "https://www.googleapis.com/auth/googlehealth.reproductive_health.readonly", +"https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly", "https://www.googleapis.com/auth/googlehealth.settings.readonly", -"https://www.googleapis.com/auth/googlehealth.sleep.readonly" +"https://www.googleapis.com/auth/googlehealth.settings.writeonly", +"https://www.googleapis.com/auth/googlehealth.sleep.readonly", +"https://www.googleapis.com/auth/googlehealth.sleep.writeonly" ] }, "getIrnProfile": { @@ -1149,7 +1159,7 @@ } } }, -"revision": "20261019", +"revision": "20261030", "rootUrl": "https://health.googleapis.com/", "schemas": { "ActiveEnergyBurned": { @@ -2008,7 +2018,7 @@ "type": "string" }, "pageSize": { -"description": "Optional. The maximum number of data points to return. If unspecified, at most 90 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly.", +"description": "Optional. The maximum number of data points to return. If unspecified, at most `90` data points will be returned. The maximum page size is `90`. For `calories-in-heart-rate-zone`, `heart-rate`, `active-minutes`, and `total-calories`, the default and maximum page size is `14`.", "format": "int32", "type": "integer" }, diff --git a/googleapiclient/discovery_cache/documents/healthcare.v1.json b/googleapiclient/discovery_cache/documents/healthcare.v1.json index 3b329ba36d..0f32be3ac4 100644 --- a/googleapiclient/discovery_cache/documents/healthcare.v1.json +++ b/googleapiclient/discovery_cache/documents/healthcare.v1.json @@ -5171,7 +5171,7 @@ } } }, -"revision": "20260924", +"revision": "20261013", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -6044,6 +6044,25 @@ }, "type": "object" }, +"CustomRegex": { +"description": "Defines a custom regular expression pattern to detect and redact in the image.", +"id": "CustomRegex", +"properties": { +"groupIndexes": { +"description": "Optional. The capturing group indexes to redact.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"pattern": { +"description": "Optional. The regular expression pattern to match.", +"type": "string" +} +}, +"type": "object" +}, "Dataset": { "description": "A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.", "id": "Dataset", @@ -7427,6 +7446,13 @@ "description": "Specifies how to handle de-identification of image pixels.", "id": "ImageConfig", "properties": { +"customRegexes": { +"description": "Optional. Custom regex patterns to redact from the image.", +"items": { +"$ref": "CustomRegex" +}, +"type": "array" +}, "textRedactionMode": { "description": "Optional. Determines how to redact text from image.", "enum": [ diff --git a/googleapiclient/discovery_cache/documents/homegraph.v1.json b/googleapiclient/discovery_cache/documents/homegraph.v1.json index 3b0c814f45..87079e90cd 100644 --- a/googleapiclient/discovery_cache/documents/homegraph.v1.json +++ b/googleapiclient/discovery_cache/documents/homegraph.v1.json @@ -216,7 +216,7 @@ } } }, -"revision": "20261020", +"revision": "20261023", "rootUrl": "https://homegraph.googleapis.com/", "schemas": { "AgentDeviceId": { @@ -615,7 +615,7 @@ true "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, -"description": "Required. The actual event payload.", +"description": "Optional. The actual event payload.", "type": "object" }, "eventId": { @@ -626,6 +626,10 @@ true "description": "Required. The timestamp of the event.", "format": "google-datetime", "type": "string" +}, +"jsonTraitEvent": { +"$ref": "JsonTraitEvent", +"description": "Optional. Contains the dynamic JSON trait event payload." } }, "type": "object" @@ -635,7 +639,7 @@ true "id": "Events", "properties": { "componentId": { -"description": "Optional. The ID of the provider component if the events are associated with a specific component. Optional for WHDM events, required for UDDM events.", +"description": "Optional. The ID of the provider component if the events are associated with a specific component. Optional for WHDM events, required for UDDM and JSON events.", "type": "string" }, "events": { @@ -667,7 +671,7 @@ true "type": "object" }, "HomeTraitPayload": { -"description": "Container for UDDM trait data associated with a device.", +"description": "Container for UDDM or JSON trait data associated with a device.", "id": "HomeTraitPayload", "properties": { "rootComponent": { @@ -714,6 +718,25 @@ true }, "type": "object" }, +"JsonTraitEvent": { +"description": "Dynamic JSON event payload conforming to `json_trait_schema.md`.", +"id": "JsonTraitEvent", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Event payload fields conforming to the event's registered JSON Schema.", +"type": "object" +}, +"id": { +"description": "Required. Fully qualified event ID: `.` (e.g., `matter.doorLock.lockOperation`, `ghp.acme.warranty.claimUpdated`).", +"type": "string" +} +}, +"type": "object" +}, "MediaUrlsStruct": { "id": "MediaUrlsStruct", "properties": { @@ -793,18 +816,20 @@ true "type": "string" }, "deviceView": { -"description": "Optional. Specifies the type of device data to be returned in the response. This allows callers to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If unspecified, defaults to SMART_HOME_TRAIT_ONLY.", +"description": "Optional. Specifies the type of device data to be returned in the response. This allows callers to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If unspecified, defaults to `SMART_HOME_TRAIT_ONLY`.", "enum": [ "DEVICE_VIEW_UNSPECIFIED", "SMART_HOME_TRAIT_ONLY", "HOME_TRAIT_ONLY", -"HOME_TRAIT_AND_SMART_HOME_TRAIT" +"HOME_TRAIT_AND_SMART_HOME_TRAIT", +"JSON_TRAIT_ONLY" ], "enumDescriptions": [ -"Default value. Equivalent to SMART_HOME_TRAIT_ONLY.", +"Default value. Equivalent to `SMART_HOME_TRAIT_ONLY`.", "Return only standard Smart Home traits in the `devices` map.", "Return only Unified Device Data Model (UDDM) traits in the `home_trait_payload` map.", -"Return both standard Smart Home traits and UDDM traits." +"Return both standard Smart Home traits and UDDM traits.", +"Return all component traits in `JsonTrait` format (`TraitData.json_trait` in `home_trait_payload`), converting persisted UDDM traits to `JsonTrait` on read." ], "type": "string" }, @@ -892,7 +917,7 @@ true "additionalProperties": { "$ref": "HomeTraitPayload" }, -"description": "Map of device IDs to their Unified Device Data Model (UDDM) trait payloads. This field is populated when `device_view` is set to HOME_TRAIT_ONLY or HOME_TRAIT_AND_SMART_HOME_TRAIT.", +"description": "Map of device IDs to their Unified Device Data Model (UDDM) or JSON trait payloads. This field is populated when `device_view` is set to `HOME_TRAIT_ONLY`, `HOME_TRAIT_AND_SMART_HOME_TRAIT`, or `JSON_TRAIT_ONLY`.", "type": "object" } }, diff --git a/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json b/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json index 55f8f8b244..39c3cbe1ca 100644 --- a/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json +++ b/googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json @@ -55,6 +55,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://hypercomputecluster.us-west4.rep.googleapis.com/", "location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://hypercomputecluster.us-central1.rep.googleapis.com/", +"location": "us-central1" } ], "fullyEncodeReservedExpansion": true, @@ -540,7 +545,7 @@ } } }, -"revision": "20260928", +"revision": "20261021", "rootUrl": "https://hypercomputecluster.googleapis.com/", "schemas": { "BootDisk": { diff --git a/googleapiclient/discovery_cache/documents/iam.v1.json b/googleapiclient/discovery_cache/documents/iam.v1.json index 72686fe6b2..6d7a30ca0d 100644 --- a/googleapiclient/discovery_cache/documents/iam.v1.json +++ b/googleapiclient/discovery_cache/documents/iam.v1.json @@ -4369,7 +4369,7 @@ } } }, -"revision": "20261016", +"revision": "20261023", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -4739,9 +4739,9 @@ ], "enumDescriptions": [ "No AttributesType specified.", -"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in ExtraAttributesOAuth2Client. The `mail` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The group mail addresses of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`", -"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in ExtraAttributesOAuth2Client. The `id` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The group IDs of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`", -"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in ExtraAttributesOAuth2Client. The `displayName` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The display names of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`" +"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in `ExtraAttributesOAuth2Client`. The `mail` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The group mail addresses of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`", +"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in `ExtraAttributesOAuth2Client`. The `id` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The group IDs of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`", +"Used to get the user's group claims from the Microsoft Entra ID identity provider using the configuration provided in `ExtraAttributesOAuth2Client`. The `displayName` property of the `microsoft.graph.group` object is used for claim mapping. See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on `microsoft.graph.group` properties. The display names of the user's groups that are returned from Microsoft Entra ID can be mapped by using the following attributes: * OIDC: `assertion.groups` * SAML: `assertion.attributes.groups`" ], "type": "string" }, @@ -5784,7 +5784,7 @@ "type": "string" }, "pageSize": { -"description": "Optional limit on the number of roles to include in the response. The default is 300, and the maximum is 2,000.", +"description": "Optional limit on the number of roles to include in the response. The default is 300, and the maximum is 3,000.", "format": "int32", "type": "integer" }, diff --git a/googleapiclient/discovery_cache/documents/integrations.v1.json b/googleapiclient/discovery_cache/documents/integrations.v1.json index 11b75c31e6..e4b87a6cf7 100644 --- a/googleapiclient/discovery_cache/documents/integrations.v1.json +++ b/googleapiclient/discovery_cache/documents/integrations.v1.json @@ -1475,7 +1475,7 @@ }, "filterParams.parameterKey": { "deprecated": true, -"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"description": "Param key. DEPRECATED. Use parameter_pair_key instead.", "location": "query", "type": "string" }, @@ -1496,7 +1496,7 @@ }, "filterParams.parameterValue": { "deprecated": true, -"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"description": "Param value. DEPRECATED. Use parameter_pair_value instead.", "location": "query", "type": "string" }, @@ -3040,7 +3040,7 @@ }, "filterParams.parameterKey": { "deprecated": true, -"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"description": "Param key. DEPRECATED. Use parameter_pair_key instead.", "location": "query", "type": "string" }, @@ -3061,7 +3061,7 @@ }, "filterParams.parameterValue": { "deprecated": true, -"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"description": "Param value. DEPRECATED. Use parameter_pair_value instead.", "location": "query", "type": "string" }, @@ -4668,7 +4668,7 @@ } } }, -"revision": "20261008", +"revision": "20261028", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -4738,7 +4738,8 @@ "UNSANITIZED_USER_INPUT", "TRANSFORM_EXPRESSION_EVALUATION_ERROR", "HTTP_EXCEPTION", -"EXECUTION_CANCELLED" +"EXECUTION_CANCELLED", +"DATA_LAYER" ], "enumDeprecated": [ false, @@ -4802,6 +4803,7 @@ false, false, false, false, +false, false ], "enumDescriptions": [ @@ -4866,6 +4868,7 @@ false "", "", "", +"", "" ], "type": "string" diff --git a/googleapiclient/discovery_cache/documents/looker.v1.json b/googleapiclient/discovery_cache/documents/looker.v1.json index 12fce7875a..cdd53c1e39 100644 --- a/googleapiclient/discovery_cache/documents/looker.v1.json +++ b/googleapiclient/discovery_cache/documents/looker.v1.json @@ -800,7 +800,7 @@ } } }, -"revision": "20261011", +"revision": "20261020", "rootUrl": "https://looker.googleapis.com/", "schemas": { "AdminSettings": { @@ -1056,6 +1056,10 @@ "description": "ExportMetadata represents the metadata of the exported artifacts. The metadata.json file in export artifact can be parsed as this message", "id": "ExportMetadata", "properties": { +"esaMigrationToken": { +"description": "Opaque capability token for O2C Elite System Activity (ESA) direct dataset migration. It is minted by the exporter together with the cloned source dataset and presented back to Looker Original when the import requests access to that dataset.", +"type": "string" +}, "esaSourceDatasetId": { "description": "Source BigQuery dataset (formatted as `project_id:dataset_id`) for O2C Elite System Activity (ESA) direct dataset migration.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json b/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json index a0dc9c9b90..fc25c7a198 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json @@ -203,7 +203,7 @@ } } }, -"revision": "20260901", +"revision": "20261026", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -503,7 +503,8 @@ "FIRST_ORDER", "SIGNUP_FOR_EMAIL", "SIGNUP_FOR_TEXT", -"CUSTOM" +"CUSTOM", +"FORMS_OF_PAYMENT" ], "enumDescriptions": [ "Indicates that the redemption restriction is unspecified.", @@ -511,7 +512,8 @@ "The promotion can only be redeemed on the first order.", "The promotion can only be redeemed by signing up for email.", "The promotion can only be redeemed by signing up for text message alerts.", -"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set." +"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set.", +"The promotion is only available when the customer uses a specific form of payment, such as a specific credit card, bank card, or digital wallet." ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json b/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json index b89d682f60..88427c02a1 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json @@ -203,7 +203,7 @@ } } }, -"revision": "20260901", +"revision": "20261026", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -503,7 +503,8 @@ "FIRST_ORDER", "SIGNUP_FOR_EMAIL", "SIGNUP_FOR_TEXT", -"CUSTOM" +"CUSTOM", +"FORMS_OF_PAYMENT" ], "enumDescriptions": [ "Indicates that the redemption restriction is unspecified.", @@ -511,7 +512,8 @@ "The promotion can only be redeemed on the first order.", "The promotion can only be redeemed by signing up for email.", "The promotion can only be redeemed by signing up for text message alerts.", -"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set." +"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set.", +"The promotion is only available when the customer uses a specific form of payment, such as a specific credit card, bank card, or digital wallet." ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json b/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json index 3d0d9d7c72..868bf429b9 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json @@ -142,7 +142,7 @@ } } }, -"revision": "20260921", +"revision": "20261026", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -1190,12 +1190,46 @@ false "enum": [ "MARKETING_METHOD_ENUM_UNSPECIFIED", "ORGANIC", -"ADS" +"ADS", +"AFFILIATE" ], "enumDescriptions": [ "Not specified.", "Organic marketing.", -"Ads-based marketing." +"Ads-based marketing.", +"[YouTube Shopping Affiliate marketing](https://support.google.com/merchants/answer/14815513)." +], +"type": "string" +}, +"network": { +"description": "Network to which metrics apply. Segment.", +"enum": [ +"NETWORK_ENUM_UNSPECIFIED", +"UNKNOWN", +"SEARCH", +"SEARCH_PARTNERS", +"CONTENT", +"MIXED", +"YOUTUBE", +"GOOGLE_TV", +"GOOGLE_OWNED_CHANNELS", +"GMAIL", +"DISCOVER", +"MAPS" +], +"enumDescriptions": [ +"Not specified.", +"The value is unknown in this version.", +"Google search.", +"Search partners.", +"Display Network.", +"Cross-network.", +"YouTube", +"Google TV", +"This network is used for Google Owned channels such as Discover feed, Gmail, YouTube. Demand Gen stats are attributed to more granular network types such as GMAIL, DISCOVER, MAPS, YOUTUBE; this value is only used for historical data.", +"Gmail", +"Discover Feed", +"Maps" ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json b/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json index 3489e75eac..102a01bda8 100644 --- a/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +++ b/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json @@ -142,7 +142,7 @@ } } }, -"revision": "20260921", +"revision": "20261026", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { @@ -1190,12 +1190,46 @@ false "enum": [ "MARKETING_METHOD_ENUM_UNSPECIFIED", "ORGANIC", -"ADS" +"ADS", +"AFFILIATE" ], "enumDescriptions": [ "Not specified.", "Organic marketing.", -"Ads-based marketing." +"Ads-based marketing.", +"[YouTube Shopping Affiliate marketing](https://support.google.com/merchants/answer/14815513)." +], +"type": "string" +}, +"network": { +"description": "Network to which metrics apply. Segment.", +"enum": [ +"NETWORK_ENUM_UNSPECIFIED", +"UNKNOWN", +"SEARCH", +"SEARCH_PARTNERS", +"CONTENT", +"MIXED", +"YOUTUBE", +"GOOGLE_TV", +"GOOGLE_OWNED_CHANNELS", +"GMAIL", +"DISCOVER", +"MAPS" +], +"enumDescriptions": [ +"Not specified.", +"The value is unknown in this version.", +"Google search.", +"Search partners.", +"Display Network.", +"Cross-network.", +"YouTube", +"Google TV", +"This network is used for Google Owned channels such as Discover feed, Gmail, YouTube. Demand Gen stats are attributed to more granular network types such as GMAIL, DISCOVER, MAPS, YOUTUBE; this value is only used for historical data.", +"Gmail", +"Discover Feed", +"Maps" ], "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json b/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json index 36e2525beb..eb7f26177d 100644 --- a/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +++ b/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://mybusinessaccountmanagement.googleapis.com/", "batchPath": "batch", "canonicalName": "My Business Account Management", -"description": "The My Business Account Management API provides an interface for managing access to a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The My Business Account Management API provides an interface for managing access to a location on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -530,7 +530,7 @@ } } }, -"revision": "20260512", +"revision": "20261026", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { diff --git a/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json b/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json index 0696baf93d..6b2fcd41af 100644 --- a/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +++ b/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://mybusinessbusinessinformation.googleapis.com/", "batchPath": "batch", "canonicalName": "My Business Business Information", -"description": "The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The My Business Business Information API provides an interface for managing business information on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -612,7 +612,7 @@ } } }, -"revision": "20260916", +"revision": "20261026", "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", "schemas": { "AdWordsLocationExtensions": { diff --git a/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json b/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json index d2ada082af..f414c4aada 100644 --- a/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +++ b/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://mybusinesslodging.googleapis.com/", "batchPath": "batch", "canonicalName": "My Business Lodging", -"description": "The My Business Lodging API enables managing lodging business information on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The My Business Lodging API enables managing lodging business information on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -194,7 +194,7 @@ } } }, -"revision": "20241002", +"revision": "20261026", "rootUrl": "https://mybusinesslodging.googleapis.com/", "schemas": { "Accessibility": { diff --git a/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json b/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json index cb516fe8dc..e06c5a294e 100644 --- a/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +++ b/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://mybusinessnotifications.googleapis.com/", "batchPath": "batch", "canonicalName": "My Business Notification Settings", -"description": "The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The My Business Notification Settings API enables managing notification settings for business accounts. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -154,7 +154,7 @@ } } }, -"revision": "20240707", +"revision": "20261026", "rootUrl": "https://mybusinessnotifications.googleapis.com/", "schemas": { "NotificationSetting": { diff --git a/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json b/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json index ffccace398..ee1bdc0ec2 100644 --- a/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +++ b/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json @@ -3,7 +3,7 @@ "baseUrl": "https://mybusinessplaceactions.googleapis.com/", "batchPath": "batch", "canonicalName": "My Business Place Actions", -"description": "The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"description": "The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access. ", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/my-business/", "fullyEncodeReservedExpansion": true, @@ -281,7 +281,7 @@ } } }, -"revision": "20251022", +"revision": "20261026", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { "Empty": { diff --git a/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json b/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json index b853b8a1be..aab63e7b18 100644 --- a/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +++ b/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json @@ -4046,7 +4046,7 @@ } } }, -"revision": "20261008", +"revision": "20261022", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -4814,6 +4814,21 @@ "properties": {}, "type": "object" }, +"ExportPscConfig": { +"description": "Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints.", +"id": "ExportPscConfig", +"properties": { +"globalGoogleApis": { +"description": "Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false.", +"type": "boolean" +}, +"publishedServicesAndRegionalGoogleApis": { +"description": "Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false.", +"type": "boolean" +} +}, +"type": "object" +}, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -5210,6 +5225,10 @@ "description": "Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.", "type": "boolean" }, +"exportPscConfig": { +"$ref": "ExportPscConfig", +"description": "Optional. Config for more granular control of Private Service Connect transitivity." +}, "labels": { "additionalProperties": { "type": "string" @@ -7370,13 +7389,15 @@ "ROUTE_TYPE_UNSPECIFIED", "VPC_PRIMARY_SUBNET", "VPC_SECONDARY_SUBNET", -"DYNAMIC_ROUTE" +"DYNAMIC_ROUTE", +"PSC_GLOBAL_GAPI" ], "enumDescriptions": [ "No route type information specified", "The route leads to a destination within the primary address range of the VPC network's subnet.", "The route leads to a destination within the secondary address range of the VPC network's subnet.", -"The route leads to a destination in a dynamic route. Dynamic routes are derived from Border Gateway Protocol (BGP) advertisements received from an NCC hybrid spoke." +"The route leads to a destination in a dynamic route. Dynamic routes are derived from Border Gateway Protocol (BGP) advertisements received from an NCC hybrid spoke.", +"The route leads to a destination within the Private Service Connect Global Google API range of the VPC network." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/networkmanagement.v1.json b/googleapiclient/discovery_cache/documents/networkmanagement.v1.json index e0e5dca00d..21255cd10a 100644 --- a/googleapiclient/discovery_cache/documents/networkmanagement.v1.json +++ b/googleapiclient/discovery_cache/documents/networkmanagement.v1.json @@ -1182,6 +1182,23 @@ "location": "query", "type": "string" }, +"cloudDeploymentType": { +"description": "Optional. The deployment type for Cloud Monitoring Points.", +"enum": [ +"CLOUD_DEPLOYMENT_TYPE_UNSPECIFIED", +"TERRAFORM", +"CLOUD_FORMATION", +"BICEP" +], +"enumDescriptions": [ +"Default value. If unspecified, defaults to `TERRAFORM` for `GCE_VM`, `BICEP` for `AZURE_VM`, and `CLOUD_FORMATION` for `AWS_EC2`.", +"Deploys using Terraform.", +"Deploys using AWS Cloud Formation. Supported only for `AWS_EC2` deployments.", +"Deploys using Azure Bicep. Supported only for `AZURE_VM` deployments." +], +"location": "query", +"type": "string" +}, "hostname": { "description": "Required. The hostname of the MonitoringPoint, e.g. \"test-vm\"", "location": "query", @@ -1797,7 +1814,7 @@ } } }, -"revision": "20261014", +"revision": "20261021", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { diff --git a/googleapiclient/discovery_cache/documents/networksecurity.v1.json b/googleapiclient/discovery_cache/documents/networksecurity.v1.json index 75c5f76331..a0b8893612 100644 --- a/googleapiclient/discovery_cache/documents/networksecurity.v1.json +++ b/googleapiclient/discovery_cache/documents/networksecurity.v1.json @@ -15,6 +15,68 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/networking", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -6341,7 +6403,7 @@ } } }, -"revision": "20261011", +"revision": "20261023", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { diff --git a/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json b/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json index f7b6e50726..fad018e837 100644 --- a/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json @@ -15,6 +15,68 @@ "description": "", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/networking", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://networksecurity.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -6528,7 +6590,7 @@ } } }, -"revision": "20261011", +"revision": "20261023", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { diff --git a/googleapiclient/discovery_cache/documents/networkservices.v1.json b/googleapiclient/discovery_cache/documents/networkservices.v1.json index a69edf33a8..3ff6ea8008 100644 --- a/googleapiclient/discovery_cache/documents/networkservices.v1.json +++ b/googleapiclient/discovery_cache/documents/networkservices.v1.json @@ -4271,7 +4271,7 @@ } } }, -"revision": "20261015", +"revision": "20261027", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AgentConnectivityTemplate": { @@ -5222,7 +5222,7 @@ "id": "ExtensionChain", "properties": { "extensions": { -"description": "Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain.", +"description": "Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain.", "items": { "$ref": "ExtensionChainExtension" }, @@ -5310,7 +5310,7 @@ "type": "string" }, "service": { -"description": "Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources.", +"description": "Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources.", "type": "string" }, "supportedEvents": { @@ -7830,7 +7830,7 @@ "type": "object" }, "ServiceLbPolicy": { -"description": "ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.", +"description": "ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService.", "id": "ServiceLbPolicy", "properties": { "autoCapacityDrain": { @@ -7873,10 +7873,10 @@ ], "enumDescriptions": [ "The type of the loadbalancing algorithm is unspecified.", -"Balance traffic across all backends across the world proportionally based on capacity.", -"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.", -"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.", -"Attempt to keep traffic in a single zone closest to the client, before spilling over to other zones." +"Balance traffic across all backends across the world proportionally based on capacity. Only supported for global ServiceLbPolicy with Cloud Service Mesh, not supported for regional ServiceLbPolicy.", +"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region. For regional ServiceLbPolicy, traffic stays within the configured region and does not spill over to other regions.", +"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region. For regional ServiceLbPolicy, traffic stays within the configured region and does not spill over to other regions.", +"Attempt to keep traffic in a single zone closest to the client, before spilling over to other zones. For regional ServiceLbPolicy, traffic only spills over to other zones within the same region." ], "type": "string" }, @@ -7894,7 +7894,7 @@ "type": "object" }, "ServiceLbPolicyAutoCapacityDrain": { -"description": "Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.", +"description": "Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing.", "id": "ServiceLbPolicyAutoCapacityDrain", "properties": { "enable": { diff --git a/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json b/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json index ab992b9769..1b96606d94 100644 --- a/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/networkservices.v1beta1.json @@ -4165,7 +4165,7 @@ } } }, -"revision": "20261015", +"revision": "20261027", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AgentConnectivityTemplate": { @@ -5043,7 +5043,7 @@ "id": "ExtensionChain", "properties": { "extensions": { -"description": "Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain.", +"description": "Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` and `CdnEdgeExtension` resources. `LbRouteExtension`, `LbEdgeExtension`, and `LbTcpExtension` chains are limited to 1 extension per extension chain.", "items": { "$ref": "ExtensionChainExtension" }, @@ -5135,7 +5135,7 @@ "type": "string" }, "service": { -"description": "Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension` resources.", +"description": "Required. The reference to the service that runs the extension. To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`. To configure a plugin extension, `service` must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format: `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the `LbTrafficExtension`, the `LbRouteExtension`, the `LbEdgeExtension`, and the `CdnEdgeExtension` resources.", "type": "string" }, "supportedEvents": { @@ -7571,7 +7571,7 @@ "type": "object" }, "ServiceLbPolicy": { -"description": "ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.", +"description": "ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService.", "id": "ServiceLbPolicy", "properties": { "autoCapacityDrain": { @@ -7614,10 +7614,10 @@ ], "enumDescriptions": [ "The type of the loadbalancing algorithm is unspecified.", -"Balance traffic across all backends across the world proportionally based on capacity.", -"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region.", -"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region.", -"Attempt to keep traffic in a single zone closest to the client, before spilling over to other zones." +"Balance traffic across all backends across the world proportionally based on capacity. Only supported for global ServiceLbPolicy with Cloud Service Mesh, not supported for regional ServiceLbPolicy.", +"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions and spread the traffic from each client to all the MIGs/NEGs in a region. For regional ServiceLbPolicy, traffic stays within the configured region and does not spill over to other regions.", +"Direct traffic to the nearest region with endpoints and capacity before spilling over to other regions. All MIGs/NEGs within a region are evenly loaded but each client might not spread the traffic to all the MIGs/NEGs in the region. For regional ServiceLbPolicy, traffic stays within the configured region and does not spill over to other regions.", +"Attempt to keep traffic in a single zone closest to the client, before spilling over to other zones. For regional ServiceLbPolicy, traffic only spills over to other zones within the same region." ], "type": "string" }, @@ -7635,7 +7635,7 @@ "type": "object" }, "ServiceLbPolicyAutoCapacityDrain": { -"description": "Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.", +"description": "Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing.", "id": "ServiceLbPolicyAutoCapacityDrain", "properties": { "enable": { diff --git a/googleapiclient/discovery_cache/documents/observability.v1.json b/googleapiclient/discovery_cache/documents/observability.v1.json index 81e435213e..353c8354f0 100644 --- a/googleapiclient/discovery_cache/documents/observability.v1.json +++ b/googleapiclient/discovery_cache/documents/observability.v1.json @@ -1793,7 +1793,7 @@ } } }, -"revision": "20260817", +"revision": "20261022", "rootUrl": "https://observability.googleapis.com/", "schemas": { "Bucket": { @@ -2189,7 +2189,7 @@ "id": "Scope", "properties": { "logScope": { -"description": "Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope", +"description": "Required. The full resource name of the `logging.googleapis.com/LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope", "type": "string" }, "name": { @@ -2197,7 +2197,7 @@ "type": "string" }, "traceScope": { -"description": "Required. The resource name of the `TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope", +"description": "Required. The unqualified resource name of the `cloudtrace.googleapis.com/TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope", "type": "string" }, "updateTime": { diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json index fca5d54ff5..b2115365ec 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json @@ -344,7 +344,7 @@ } } }, -"revision": "20261009", +"revision": "20261023", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AISkillAnalysisOccurrence": { @@ -1420,6 +1420,106 @@ }, "type": "object" }, +"Exploitability": { +"description": "Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location.", +"id": "Exploitability", +"properties": { +"signals": { +"description": "Individual exploitability signals from various sources.", +"items": { +"$ref": "ExploitabilitySignal" +}, +"type": "array" +}, +"summary": { +"$ref": "ExploitabilitySummary", +"description": "Rollup summary of the exploitability signals." +} +}, +"type": "object" +}, +"ExploitabilitySignal": { +"description": "A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis).", +"id": "ExploitabilitySignal", +"properties": { +"rationale": { +"description": "Human-readable explanation of this signal.", +"type": "string" +}, +"source": { +"description": "Identifier of the signal source.", +"type": "string" +}, +"vexJustification": { +"description": "Justification for why the vulnerability is not exploitable.", +"enum": [ +"JUSTIFICATION_TYPE_UNSPECIFIED", +"COMPONENT_NOT_PRESENT", +"VULNERABLE_CODE_NOT_PRESENT", +"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", +"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", +"INLINE_MITIGATIONS_ALREADY_EXIST" +], +"enumDescriptions": [ +"JUSTIFICATION_TYPE_UNSPECIFIED.", +"The vulnerable component is not present in the product.", +"The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", +"The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", +"The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", +"The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." +], +"type": "string" +}, +"vexStatus": { +"description": "The VEX status asserted by this signal.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +} +}, +"type": "object" +}, +"ExploitabilitySummary": { +"description": "Rollup summary of exploitability across signals.", +"id": "ExploitabilitySummary", +"properties": { +"rationale": { +"description": "Human-readable explanation of the summary.", +"type": "string" +}, +"vexStatus": { +"description": "The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +} +}, +"type": "object" +}, "File": { "id": "File", "properties": { @@ -2668,6 +2768,11 @@ "readOnly": true, "type": "string" }, +"exploitability": { +"$ref": "Exploitability", +"description": "Output only. Exploitability signals and summary for this package issue.", +"readOnly": true +}, "fileLocation": { "description": "The location at which this package was found.", "items": { @@ -3739,6 +3844,11 @@ ], "type": "string" }, +"exploitability": { +"$ref": "Exploitability", +"description": "Output only. Rollup of exploitability across all PackageIssues in this occurrence.", +"readOnly": true +}, "extraDetails": { "description": "Occurrence-specific extra details about the vulnerability.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json index 7139447387..2e59ca52ed 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json @@ -344,7 +344,7 @@ } } }, -"revision": "20261009", +"revision": "20261023", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AISkillAnalysisOccurrence": { @@ -1415,6 +1415,106 @@ }, "type": "object" }, +"Exploitability": { +"description": "Exploitability information for a vulnerability. This data can be used across multiple sources, including, but not limited to a top-level vulnerability, a package occurrence, or a package file location.", +"id": "Exploitability", +"properties": { +"signals": { +"description": "Individual exploitability signals from various sources.", +"items": { +"$ref": "ExploitabilitySignal" +}, +"type": "array" +}, +"summary": { +"$ref": "ExploitabilitySummary", +"description": "Rollup summary of the exploitability signals." +} +}, +"type": "object" +}, +"ExploitabilitySignal": { +"description": "A single exploitability signal from a specific source (e.g., an upstream advisory, a customer VEX document, or an internal build analysis).", +"id": "ExploitabilitySignal", +"properties": { +"rationale": { +"description": "Human-readable explanation of this signal.", +"type": "string" +}, +"source": { +"description": "Identifier of the signal source.", +"type": "string" +}, +"vexJustification": { +"description": "Justification for why the vulnerability is not exploitable.", +"enum": [ +"JUSTIFICATION_TYPE_UNSPECIFIED", +"COMPONENT_NOT_PRESENT", +"VULNERABLE_CODE_NOT_PRESENT", +"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", +"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", +"INLINE_MITIGATIONS_ALREADY_EXIST" +], +"enumDescriptions": [ +"JUSTIFICATION_TYPE_UNSPECIFIED.", +"The vulnerable component is not present in the product.", +"The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", +"The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", +"The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", +"The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." +], +"type": "string" +}, +"vexStatus": { +"description": "The VEX status asserted by this signal.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +} +}, +"type": "object" +}, +"ExploitabilitySummary": { +"description": "Rollup summary of exploitability across signals.", +"id": "ExploitabilitySummary", +"properties": { +"rationale": { +"description": "Human-readable explanation of the summary.", +"type": "string" +}, +"vexStatus": { +"description": "The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +} +}, +"type": "object" +}, "File": { "id": "File", "properties": { @@ -2663,6 +2763,11 @@ "readOnly": true, "type": "string" }, +"exploitability": { +"$ref": "Exploitability", +"description": "Output only. Exploitability signals and summary for this package issue.", +"readOnly": true +}, "fileLocation": { "description": "The location at which this package was found.", "items": { @@ -3734,6 +3839,11 @@ ], "type": "string" }, +"exploitability": { +"$ref": "Exploitability", +"description": "Output only. Rollup of exploitability across all PackageIssues in this occurrence.", +"readOnly": true +}, "extraDetails": { "description": "Occurrence-specific extra details about the vulnerability.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/oracledatabase.v1.json b/googleapiclient/discovery_cache/documents/oracledatabase.v1.json index 83eff2cdbc..cadf70a6c1 100644 --- a/googleapiclient/discovery_cache/documents/oracledatabase.v1.json +++ b/googleapiclient/discovery_cache/documents/oracledatabase.v1.json @@ -4010,7 +4010,7 @@ } } }, -"revision": "20261019", +"revision": "20261024", "rootUrl": "https://oracledatabase.googleapis.com/", "schemas": { "AllConnectionStrings": { @@ -11844,7 +11844,7 @@ true "type": "string" }, "domain": { -"description": "Required. The DNS suffix for the zone. Ex: abc.example.com.", +"description": "Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.", "type": "string" }, "labels": { @@ -12579,11 +12579,6 @@ true "description": "SqlResult represents the result for the execution of a sql statement.", "id": "SqlResult", "properties": { -"affectedRowCount": { -"description": "Optional. The number of rows affected by DML statements (e.g., INSERT, UPDATE, DELETE, MERGE). Unset or 0 for SELECT / DDL statements.", -"format": "int64", -"type": "string" -}, "columns": { "description": "List of columns included in the result, including data type.", "items": { diff --git a/googleapiclient/discovery_cache/documents/osconfig.v1.json b/googleapiclient/discovery_cache/documents/osconfig.v1.json index 1ed9a9e307..aa00a7da84 100644 --- a/googleapiclient/discovery_cache/documents/osconfig.v1.json +++ b/googleapiclient/discovery_cache/documents/osconfig.v1.json @@ -73,6 +73,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://osconfig.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://osconfig.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -1325,7 +1330,7 @@ } } }, -"revision": "20261015", +"revision": "20261022", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { diff --git a/googleapiclient/discovery_cache/documents/osconfig.v1alpha.json b/googleapiclient/discovery_cache/documents/osconfig.v1alpha.json index 37d5464599..73c5395125 100644 --- a/googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/osconfig.v1alpha.json @@ -73,6 +73,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://osconfig.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://osconfig.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -949,7 +954,7 @@ } } }, -"revision": "20261015", +"revision": "20261022", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { diff --git a/googleapiclient/discovery_cache/documents/osconfig.v1beta.json b/googleapiclient/discovery_cache/documents/osconfig.v1beta.json index 565e58c93d..50443c70df 100644 --- a/googleapiclient/discovery_cache/documents/osconfig.v1beta.json +++ b/googleapiclient/discovery_cache/documents/osconfig.v1beta.json @@ -73,6 +73,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://osconfig.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://osconfig.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -931,7 +936,7 @@ } } }, -"revision": "20260611", +"revision": "20261022", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptRepository": { diff --git a/googleapiclient/discovery_cache/documents/osconfig.v2.json b/googleapiclient/discovery_cache/documents/osconfig.v2.json index 83db9fd7a5..848b5e818f 100644 --- a/googleapiclient/discovery_cache/documents/osconfig.v2.json +++ b/googleapiclient/discovery_cache/documents/osconfig.v2.json @@ -73,6 +73,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://osconfig.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://osconfig.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -1314,7 +1319,7 @@ } } }, -"revision": "20261001", +"revision": "20261022", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/googleapiclient/discovery_cache/documents/osconfig.v2beta.json b/googleapiclient/discovery_cache/documents/osconfig.v2beta.json index 90440a2c75..e53dd61a82 100644 --- a/googleapiclient/discovery_cache/documents/osconfig.v2beta.json +++ b/googleapiclient/discovery_cache/documents/osconfig.v2beta.json @@ -73,6 +73,11 @@ }, { "description": "Regional Endpoint", +"endpointUrl": "https://osconfig.asia-southeast4.rep.googleapis.com/", +"location": "asia-southeast4" +}, +{ +"description": "Regional Endpoint", "endpointUrl": "https://osconfig.australia-southeast1.rep.googleapis.com/", "location": "australia-southeast1" }, @@ -1314,7 +1319,7 @@ } } }, -"revision": "20261001", +"revision": "20261022", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/googleapiclient/discovery_cache/documents/places.v1.json b/googleapiclient/discovery_cache/documents/places.v1.json index 1e8a32cf32..29691be7a3 100644 --- a/googleapiclient/discovery_cache/documents/places.v1.json +++ b/googleapiclient/discovery_cache/documents/places.v1.json @@ -280,7 +280,7 @@ } } }, -"revision": "20260729", +"revision": "20261027", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -448,7 +448,7 @@ "type": "boolean" }, "includedPrimaryTypes": { -"description": "Optional. Included primary Place type (for example, \"restaurant\" or \"gas_station\") in Place Types (https://developers.google.com/maps/documentation/places/web-service/place-types), or only `(regions)`, or only `(cities)`. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned.", +"description": "Optional. Included primary Place type (for example, \"restaurant\" or \"gas_station\") in [Place Types](https://developers.google.com/maps/documentation/places/web-service/place-types), or only `(regions)`, or only `(cities)`. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned.", "items": { "type": "string" }, @@ -897,7 +897,7 @@ "properties": { "price": { "$ref": "GoogleTypeMoney", -"description": "The price of the fuel." +"description": "The price of the fuel. The price is per US liquid gallon in the United States, and per liter elsewhere. Prices do not distinguish between payment methods (cash or credit). When a station offers multiple prices for the same `FuelType`, the API returns the standard (highest) price." }, "type": { "description": "The type of fuel.", @@ -950,7 +950,7 @@ "type": "string" }, "updateTime": { -"description": "The time the fuel price was last updated.", +"description": "The time the fuel price was last updated. This represents the time when the specific fuel price offer was last observed or updated by the data provider.", "format": "google-datetime", "type": "string" } diff --git a/googleapiclient/discovery_cache/documents/pubsub.v1.json b/googleapiclient/discovery_cache/documents/pubsub.v1.json index 79ca529486..d845bae9c4 100644 --- a/googleapiclient/discovery_cache/documents/pubsub.v1.json +++ b/googleapiclient/discovery_cache/documents/pubsub.v1.json @@ -791,7 +791,7 @@ "snapshots": { "methods": { "create": { -"description": "Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.", +"description": "Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.", "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", "httpMethod": "PUT", "id": "pubsub.projects.snapshots.create", @@ -820,7 +820,7 @@ ] }, "delete": { -"description": "Removes an existing snapshot. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.", +"description": "Removes an existing snapshot. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.", "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", "httpMethod": "DELETE", "id": "pubsub.projects.snapshots.delete", @@ -1061,7 +1061,7 @@ ] }, "create": { -"description": "Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.", +"description": "Creates a subscription to a given topic. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.", "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", "httpMethod": "PUT", "id": "pubsub.projects.subscriptions.create", @@ -1353,7 +1353,7 @@ ] }, "seek": { -"description": "Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.", +"description": "Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.", "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:seek", "httpMethod": "POST", "id": "pubsub.projects.subscriptions.seek", @@ -1444,7 +1444,7 @@ "topics": { "methods": { "create": { -"description": "Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", +"description": "Creates the given topic with the given name. See the [resource name rules]( https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", "flatPath": "v1/projects/{projectsId}/topics/{topicsId}", "httpMethod": "PUT", "id": "pubsub.projects.topics.create", @@ -1798,7 +1798,7 @@ } } }, -"revision": "20261006", +"revision": "20261013", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AIInference": { @@ -2161,7 +2161,7 @@ "description": "Optional. Data from Cloud Storage will be interpreted in Avro format." }, "bucket": { -"description": "Optional. Cloud Storage bucket. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).", +"description": "Optional. Cloud Storage bucket. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements]( https://cloud.google.com/storage/docs/buckets#naming).", "type": "string" }, "matchGlob": { @@ -2902,7 +2902,7 @@ "type": "object" }, "PubsubMessage": { -"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.", +"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits.", "id": "PubsubMessage", "properties": { "attributes": { @@ -2934,7 +2934,7 @@ "type": "object" }, "PubsubWrapper": { -"description": "The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).", +"description": "The payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).", "id": "PubsubWrapper", "properties": {}, "type": "object" @@ -2991,7 +2991,7 @@ }, "pubsubWrapper": { "$ref": "PubsubWrapper", -"description": "Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)." +"description": "Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a [PubsubMessage]( https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)." }, "pushEndpoint": { "description": "Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.", @@ -3177,7 +3177,7 @@ "additionalProperties": { "type": "string" }, -"description": "Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).", +"description": "Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels).", "type": "object" }, "name": { @@ -3269,7 +3269,7 @@ "description": "Optional. If push delivery is used with this subscription, this field is used to configure it." }, "retainAckedMessages": { -"description": "Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.", +"description": "Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp]( https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.", "type": "boolean" }, "retryPolicy": { @@ -3372,7 +3372,7 @@ "additionalProperties": { "type": "string" }, -"description": "Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).", +"description": "Optional. See [Creating and managing labels]( https://cloud.google.com/pubsub/docs/labels).", "type": "object" }, "messageRetentionDuration": { diff --git a/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json b/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json index 98e0e5e777..675e9e0142 100644 --- a/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +++ b/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json @@ -845,7 +845,7 @@ } } }, -"revision": "20261003", +"revision": "20261025", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1273,7 +1273,7 @@ true "type": "string" }, "name": { -"description": "Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive.", +"description": "Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case. Current example values include the following: * google-agent - AI_AGENT * browser-base - AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER * meta-muse - AI_AGENT Ensure that your applications can handle identifier values not explicitly listed here. Deprecated values might take some time to stop showing up in responses. New values can be pushed so this list should be taken as non exhaustive.", "type": "string" } }, @@ -2151,7 +2151,7 @@ true "type": "string" }, "path": { -"description": "Required. URI path of the API endpoint to protect. Must start with '/'. Supports glob characters '*' to match a single path segment and '**' to match multiple path segments. Standalone root catch-alls ('/*' and '/**') are invalid because it can negatively impact performance to trigger reCAPTCHA on every single request to your backend. Matching is evaluated against the URL path only (domain, scheme, and query parameters are ignored). Examples: - `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. - `/products/*` matches `/products/123`, but not `/products/123/456`. - `/content/**` matches `/content/articles/2024/01/01`.", +"description": "Required. The URI path of the API endpoint to protect. The path is case-sensitive and must meet the following criteria: * Be unique, start with `/`, and contain 1 to 200 characters without consecutive slashes (`//`). * Include at least one non-wildcard segment. For example, cannot be `/`, `/*`, `/**`, or `/*/`. * Wildcards must occupy complete segments: `*` matches a single segment. For example, `/api/*/login` or `/api/*` are valid; `/api/login*` is invalid, and `**` matches multiple segments as the final segment only. For example, `/api/**` is valid; `/api/**/login` is invalid. Matching is evaluated against the URL path only. Domain, scheme, and query parameters are ignored. Examples: * `/login` matches `/login`, `https://example.com/login`, and `/login?query=1`, but not `/login/step1`. * `/products/*` matches `/products/123`, but not `/products/123/456`. * `/content/**` matches `/content/articles/2024/01/01`.", "type": "string" } }, @@ -2285,12 +2285,14 @@ true "enum": [ "CHALLENGE_TYPE_UNSPECIFIED", "CHALLENGE_TYPE_VISUAL", -"CHALLENGE_TYPE_AUDIO" +"CHALLENGE_TYPE_AUDIO", +"CHALLENGE_TYPE_QR_CODE" ], "enumDescriptions": [ "Default unspecified type.", "A visual challenge.", -"An audio challenge." +"An audio challenge.", +"A challenge requiring mobile device verification, completed by scanning a QR code on desktop or clicking a verification button directly on a mobile device." ], "readOnly": true, "type": "string" diff --git a/googleapiclient/discovery_cache/documents/run.v1.json b/googleapiclient/discovery_cache/documents/run.v1.json index 1f63707db9..373ff569a2 100644 --- a/googleapiclient/discovery_cache/documents/run.v1.json +++ b/googleapiclient/discovery_cache/documents/run.v1.json @@ -3652,7 +3652,7 @@ } } }, -"revision": "20261016", +"revision": "20261023", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -6439,6 +6439,10 @@ false "description": "Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or 'Never'.", "type": "string" }, +"sandboxes": { +"$ref": "SandboxConfiguration", +"description": "Optional. Sandbox configuration that can be launched through the `sandbox` CLI." +}, "serviceAccountName": { "description": "Optional. Email address of the IAM service account associated with the Instance. The service account represents the identity of the running container, and determines what permissions the Instance has. If not provided, the Instance will use the project's default service account.", "type": "string" @@ -7388,6 +7392,10 @@ false "description": "Optional. Runtime. Leave unset for default.", "type": "string" }, +"sandboxes": { +"$ref": "SandboxConfiguration", +"description": "Optional. Sandbox configuration that can be launched through the `sandbox` CLI." +}, "serviceAccountName": { "description": "Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.", "type": "string" @@ -7544,6 +7552,67 @@ false }, "type": "object" }, +"SandboxConfiguration": { +"description": "Configuration for sandboxes.", +"id": "SandboxConfiguration", +"properties": { +"templates": { +"description": "Required. Sandbox templates that can be launched through the `sandbox` CLI.", +"items": { +"$ref": "SandboxTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"SandboxTemplate": { +"description": "Template for a single sandbox.", +"id": "SandboxTemplate", +"properties": { +"args": { +"description": "Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "Optional. List of environment variables to set in the sandbox.", +"items": { +"$ref": "EnvVar" +}, +"type": "array" +}, +"image": { +"description": "Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.", +"type": "string" +}, +"name": { +"description": "Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).", +"type": "string" +}, +"volumeMounts": { +"description": "Optional. Volume to mount into the container's filesystem.", +"items": { +"$ref": "VolumeMount" +}, +"type": "array" +}, +"workingDir": { +"description": "Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.", +"type": "string" +} +}, +"type": "object" +}, "SecretEnvSource": { "description": "Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.", "id": "SecretEnvSource", @@ -7926,6 +7995,10 @@ false "description": "Optional. The Node Selector configuration. Map of selector key to a value which matches a node.", "type": "object" }, +"sandboxes": { +"$ref": "SandboxConfiguration", +"description": "Optional. Sandbox configuration that can be launched through the `sandbox` CLI." +}, "serviceAccountName": { "description": "Optional. Email address of the IAM service account associated with the task of a job execution. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/run.v2.json b/googleapiclient/discovery_cache/documents/run.v2.json index 1d3bd696bb..d2ba17de4e 100644 --- a/googleapiclient/discovery_cache/documents/run.v2.json +++ b/googleapiclient/discovery_cache/documents/run.v2.json @@ -2669,7 +2669,7 @@ } } }, -"revision": "20261016", +"revision": "20261023", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2AmbientNetworking": { @@ -3606,7 +3606,7 @@ "type": "object" }, "GoogleCloudRunV2GCSVolumeSource": { -"description": "Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.", +"description": "Represents a volume backed by a Cloud Storage bucket (mounted via Cloud Storage FUSE or as a block device disk).", "id": "GoogleCloudRunV2GCSVolumeSource", "properties": { "bucket": { @@ -3943,6 +3943,10 @@ ], "type": "string" }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Optional. Configuration for sandboxes." +}, "satisfiesPzs": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -4713,6 +4717,11 @@ "readOnly": true, "type": "boolean" }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Output only. Configuration for sandboxes.", +"readOnly": true +}, "satisfiesPzs": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -4912,6 +4921,10 @@ "description": "Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.", "type": "string" }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Optional. Configuration for sandboxes." +}, "scaling": { "$ref": "GoogleCloudRunV2RevisionScaling", "description": "Optional. Scaling settings for this Revision." @@ -4970,6 +4983,67 @@ }, "type": "object" }, +"GoogleCloudRunV2SandboxConfiguration": { +"description": "Configuration for sandboxes.", +"id": "GoogleCloudRunV2SandboxConfiguration", +"properties": { +"templates": { +"description": "Required. Sandbox templates that can be launched through the `sandbox` CLI.", +"items": { +"$ref": "GoogleCloudRunV2SandboxTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRunV2SandboxTemplate": { +"description": "Template for a single sandbox.", +"id": "GoogleCloudRunV2SandboxTemplate", +"properties": { +"args": { +"description": "Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "Optional. List of environment variables to set in the sandbox.", +"items": { +"$ref": "GoogleCloudRunV2EnvVar" +}, +"type": "array" +}, +"image": { +"description": "Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.", +"type": "string" +}, +"name": { +"description": "Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).", +"type": "string" +}, +"volumeMounts": { +"description": "Optional. Volume to mount into the container's filesystem.", +"items": { +"$ref": "GoogleCloudRunV2VolumeMount" +}, +"type": "array" +}, +"workingDir": { +"description": "Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.", +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudRunV2SecretKeySelector": { "description": "SecretEnvVarSource represents a source for the value of an EnvVar.", "id": "GoogleCloudRunV2SecretKeySelector", @@ -5645,6 +5719,10 @@ "readOnly": true, "type": "integer" }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Configuration for sandboxes." +}, "satisfiesPzs": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -5767,6 +5845,10 @@ "$ref": "GoogleCloudRunV2NodeSelector", "description": "Optional. The node selector for the task template." }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Optional. Configuration for sandboxes." +}, "serviceAccount": { "description": "Optional. Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.", "type": "string" @@ -6247,6 +6329,10 @@ "description": "Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the WorkerPool name.", "type": "string" }, +"sandboxes": { +"$ref": "GoogleCloudRunV2SandboxConfiguration", +"description": "Optional. Configuration for sandboxes." +}, "serviceAccount": { "description": "Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.", "type": "string" diff --git a/googleapiclient/discovery_cache/documents/saasservicemgmt.v1.json b/googleapiclient/discovery_cache/documents/saasservicemgmt.v1.json index ea0b390e0c..ece4d3ca8d 100644 --- a/googleapiclient/discovery_cache/documents/saasservicemgmt.v1.json +++ b/googleapiclient/discovery_cache/documents/saasservicemgmt.v1.json @@ -20,7 +20,7 @@ "canonicalName": "SaaS Service Management", "description": "Model, deploy, and operate your SaaS at scale. ", "discoveryVersion": "v1", -"documentationLink": "https://cloud.google.com/saas-runtime/docs", +"documentationLink": "https://docs.cloud.google.com/app-lifecycle-manager", "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1866,7 +1866,7 @@ } } }, -"revision": "20261005", +"revision": "20261020", "rootUrl": "https://saasservicemgmt.googleapis.com/", "schemas": { "Aggregate": { @@ -1992,6 +1992,18 @@ "properties": {}, "type": "object" }, +"DurationLimits": { +"description": "DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.", +"id": "DurationLimits", +"properties": { +"unitOperationTimeout": { +"description": "Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -3331,6 +3343,10 @@ false }, "type": "array" }, +"durationLimits": { +"$ref": "DurationLimits", +"description": "Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation." +}, "etag": { "description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", "readOnly": true, @@ -3418,6 +3434,10 @@ false "$ref": "Deprovision", "description": "Optional. Deprovision operation." }, +"durationLimits": { +"$ref": "DurationLimits", +"description": "Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout." +}, "engineState": { "description": "Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.", "readOnly": true, diff --git a/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json b/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json index f16a9890f4..466b5bf80d 100644 --- a/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json @@ -20,7 +20,7 @@ "canonicalName": "SaaS Service Management", "description": "Model, deploy, and operate your SaaS at scale. ", "discoveryVersion": "v1", -"documentationLink": "https://cloud.google.com/saas-runtime/docs", +"documentationLink": "https://docs.cloud.google.com/app-lifecycle-manager", "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -1861,213 +1861,6 @@ } } }, -"saasReleases": { -"methods": { -"create": { -"description": "Create a new saas release.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saasReleases", -"httpMethod": "POST", -"id": "saasservicemgmt.projects.locations.saasReleases.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent of the saas release.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"saasReleaseId": { -"description": "Required. The ID value for the new saas release.", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+parent}/saasReleases", -"request": { -"$ref": "SaasRelease" -}, -"response": { -"$ref": "SaasRelease" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"delete": { -"description": "Delete a single saas release.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saasReleases/{saasReleasesId}", -"httpMethod": "DELETE", -"id": "saasservicemgmt.projects.locations.saasReleases.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"etag": { -"description": "The etag known to the client for the expected state of the saas release.", -"location": "query", -"type": "string" -}, -"name": { -"description": "Required. The resource name of the resource within a service.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "Empty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"get": { -"description": "Retrieve a single saas release.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saasReleases/{saasReleasesId}", -"httpMethod": "GET", -"id": "saasservicemgmt.projects.locations.saasReleases.get", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Required. The resource name of the resource within a service.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "SaasRelease" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"list": { -"description": "Retrieve a collection of saas releases.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saasReleases", -"httpMethod": "GET", -"id": "saasservicemgmt.projects.locations.saasReleases.list", -"parameterOrder": [ -"parent" -], -"parameters": { -"filter": { -"description": "Filter the list as specified in https://google.aip.dev/160.", -"location": "query", -"type": "string" -}, -"orderBy": { -"description": "Order results as specified in https://google.aip.dev/132.", -"location": "query", -"type": "string" -}, -"pageSize": { -"description": "The maximum number of saas releases to send per page.", -"format": "int32", -"location": "query", -"type": "integer" -}, -"pageToken": { -"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", -"location": "query", -"type": "string" -}, -"parent": { -"description": "Required. The parent of the saas releases.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -} -}, -"path": "v1beta1/{+parent}/saasReleases", -"response": { -"$ref": "ListSaasReleasesResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"patch": { -"description": "Update a single saas release.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saasReleases/{saasReleasesId}", -"httpMethod": "PATCH", -"id": "saasservicemgmt.projects.locations.saasReleases.patch", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/saasReleases/{saasRelease}\"", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"updateMask": { -"description": "Field mask is used to specify the fields to be overwritten.", -"format": "google-fieldmask", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"request": { -"$ref": "SaasRelease" -}, -"response": { -"$ref": "SaasRelease" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -} -} -}, "tenants": { "methods": { "create": { @@ -2279,91 +2072,6 @@ }, "unitGroupOperations": { "methods": { -"create": { -"description": "Create a new unit group operation.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroupOperations", -"httpMethod": "POST", -"id": "saasservicemgmt.projects.locations.unitGroupOperations.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent of the unit group operation.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).", -"location": "query", -"type": "string" -}, -"unitGroupOperationId": { -"description": "Required. The ID value for the new unit group operation.", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "Optional. If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+parent}/unitGroupOperations", -"request": { -"$ref": "UnitGroupOperation" -}, -"response": { -"$ref": "UnitGroupOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"delete": { -"description": "Delete a single unit group operation.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroupOperations/{unitGroupOperationsId}", -"httpMethod": "DELETE", -"id": "saasservicemgmt.projects.locations.unitGroupOperations.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"etag": { -"description": "Optional. The etag known to the client for the expected state of the unit group operation. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit group operation. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", -"location": "query", -"type": "string" -}, -"name": { -"description": "Required. The resource name of the resource within a service.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "Optional. If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "Empty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, "get": { "description": "Retrieve a single unit group operation.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroupOperations/{unitGroupOperationsId}", @@ -2436,141 +2144,11 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/saasservicemgmt.read-write" ] -}, -"patch": { -"description": "Update a single unit group operation.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroupOperations/{unitGroupOperationsId}", -"httpMethod": "PATCH", -"id": "saasservicemgmt.projects.locations.unitGroupOperations.patch", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}\"", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).", -"location": "query", -"type": "string" -}, -"updateMask": { -"description": "Optional. Field mask is used to specify the fields to be overwritten in the UnitGroupOperation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the UnitGroupOperation will be overwritten.", -"format": "google-fieldmask", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "Optional. If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"request": { -"$ref": "UnitGroupOperation" -}, -"response": { -"$ref": "UnitGroupOperation" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] } } }, "unitGroups": { "methods": { -"create": { -"description": "Create a new unit group.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroups", -"httpMethod": "POST", -"id": "saasservicemgmt.projects.locations.unitGroups.create", -"parameterOrder": [ -"parent" -], -"parameters": { -"parent": { -"description": "Required. The parent of the unit group.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"unitGroupId": { -"description": "Required. The ID value for the new unit group.", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+parent}/unitGroups", -"request": { -"$ref": "UnitGroup" -}, -"response": { -"$ref": "UnitGroup" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, -"delete": { -"description": "Delete a single unit group.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroups/{unitGroupsId}", -"httpMethod": "DELETE", -"id": "saasservicemgmt.projects.locations.unitGroups.delete", -"parameterOrder": [ -"name" -], -"parameters": { -"etag": { -"description": "The etag known to the client for the expected state of the unit group.", -"location": "query", -"type": "string" -}, -"name": { -"description": "Required. The resource name of the resource within a service.", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"response": { -"$ref": "Empty" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] -}, "get": { "description": "Retrieve a single unit group.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroups/{unitGroupsId}", @@ -2643,51 +2221,6 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/saasservicemgmt.read-write" ] -}, -"patch": { -"description": "Update a single unit group.", -"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitGroups/{unitGroupsId}", -"httpMethod": "PATCH", -"id": "saasservicemgmt.projects.locations.unitGroups.patch", -"parameterOrder": [ -"name" -], -"parameters": { -"name": { -"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitGroups/{unitGroup}\"", -"location": "path", -"pattern": "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$", -"required": true, -"type": "string" -}, -"requestId": { -"description": "An optional request ID to identify requests.", -"location": "query", -"type": "string" -}, -"updateMask": { -"description": "Field mask is used to specify the fields to be overwritten.", -"format": "google-fieldmask", -"location": "query", -"type": "string" -}, -"validateOnly": { -"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", -"location": "query", -"type": "boolean" -} -}, -"path": "v1beta1/{+name}", -"request": { -"$ref": "UnitGroup" -}, -"response": { -"$ref": "UnitGroup" -}, -"scopes": [ -"https://www.googleapis.com/auth/cloud-platform", -"https://www.googleapis.com/auth/saasservicemgmt.read-write" -] } } }, @@ -3323,7 +2856,7 @@ } } }, -"revision": "20261005", +"revision": "20261020", "rootUrl": "https://saasservicemgmt.googleapis.com/", "schemas": { "Aggregate": { @@ -3491,12 +3024,41 @@ "properties": {}, "type": "object" }, +"DurationLimits": { +"description": "DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.", +"id": "DurationLimits", +"properties": { +"unitOperationTimeout": { +"description": "Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", "properties": {}, "type": "object" }, +"Engine": { +"description": "Engine captures metadata about the underlying actuation engine instance managing this Unit.", +"id": "Engine", +"properties": { +"engineId": { +"description": "Optional. Output only. The full resource name of the underlying engine deployment created for this unit (e.g., \"projects/{project}/locations/{location}/deployments/{deployment}\").", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Optional. Output only. The location where the unit's underlying engine deployment is actuated (e.g., \"us-central1\").", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "ErrorBudget": { "description": "The configuration for error budget. If the number of failed units exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be paused.", "id": "ErrorBudget", @@ -4058,7 +3620,8 @@ "type": "string" }, "trackingId": { -"description": "Optional. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants.", +"description": "Output only. trackingId is unique depending on name and value of the variant within the scope of the service. It is typically generated by the server and must not be changed. trackingId is used to uniquely identify and track variants.", +"readOnly": true, "type": "string" } }, @@ -4306,31 +3869,6 @@ }, "type": "object" }, -"ListSaasReleasesResponse": { -"description": "The response structure for the ListSaasReleases method.", -"id": "ListSaasReleasesResponse", -"properties": { -"nextPageToken": { -"description": "If present, the next page token can be provided to a subsequent ListSaasReleases call to list the next page. If empty, there are no more pages.", -"type": "string" -}, -"saasReleases": { -"description": "The resulting saas releases.", -"items": { -"$ref": "SaasRelease" -}, -"type": "array" -}, -"unreachable": { -"description": "Locations that could not be reached.", -"items": { -"type": "string" -}, -"type": "array" -} -}, -"type": "object" -}, "ListSaasResponse": { "description": "The response structure for the ListSaas method.", "id": "ListSaasResponse", @@ -5091,53 +4629,6 @@ false }, "type": "object" }, -"SaasRelease": { -"description": "SaasRelease is a collection of Releases that are assigned to a UnitGroup. It allows provisioning and updates of UnitGroup, which contains multiple Units of different UnitKinds.", -"id": "SaasRelease", -"properties": { -"annotations": { -"additionalProperties": { -"type": "string" -}, -"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", -"type": "object" -}, -"createTime": { -"description": "Output only. The timestamp when the resource was created.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -}, -"etag": { -"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", -"readOnly": true, -"type": "string" -}, -"labels": { -"additionalProperties": { -"type": "string" -}, -"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", -"type": "object" -}, -"name": { -"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/saasReleases/{saasRelease}\"", -"type": "string" -}, -"uid": { -"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", -"readOnly": true, -"type": "string" -}, -"updateTime": { -"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", -"format": "google-datetime", -"readOnly": true, -"type": "string" -} -}, -"type": "object" -}, "Schedule": { "description": "A time specification to schedule the maintenance.", "id": "Schedule", @@ -5317,6 +4808,11 @@ false "readOnly": true, "type": "array" }, +"engine": { +"$ref": "Engine", +"description": "Optional. Output only. Metadata about the underlying actuation engine instance managing this Unit.", +"readOnly": true +}, "etag": { "description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", "readOnly": true, @@ -5733,6 +5229,10 @@ false }, "type": "array" }, +"durationLimits": { +"$ref": "DurationLimits", +"description": "Optional. Defines the default duration limits for UnitOperations created from this UnitKind. These settings provide a baseline for execution time constraints. The limits specified here can be overridden by more specific settings on an individual UnitOperation resource. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout. If not set, UnitOperations will use the system default duration limits unless overridden on the UnitOperation." +}, "etag": { "description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", "readOnly": true, @@ -5820,6 +5320,10 @@ false "$ref": "Deprovision", "description": "Optional. Deprovision operation." }, +"durationLimits": { +"$ref": "DurationLimits", +"description": "Optional. Defines the duration limits for this specific UnitOperation instance. These settings override any default duration limits set on the UnitKind. See the DurationLimits message definition for details on the constraints like minimum, maximum, and system default values for unit_operation_timeout." +}, "engineState": { "description": "Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.", "readOnly": true, diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1.json b/googleapiclient/discovery_cache/documents/securitycenter.v1.json index 5f1952d3c4..1b82dcd85e 100644 --- a/googleapiclient/discovery_cache/documents/securitycenter.v1.json +++ b/googleapiclient/discovery_cache/documents/securitycenter.v1.json @@ -5766,7 +5766,7 @@ } } }, -"revision": "20261005", +"revision": "20261023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6721,6 +6721,18 @@ }, "type": "object" }, +"CloudRun": { +"id": "CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "Compliance": { "id": "Compliance", "properties": { @@ -7822,6 +7834,9 @@ false "cloudDlpInspection": { "$ref": "CloudDlpInspection" }, +"cloudRun": { +"$ref": "CloudRun" +}, "complianceDetails": { "$ref": "ComplianceDetails" }, @@ -9867,6 +9882,18 @@ false }, "type": "object" }, +"GoogleCloudSecuritycenterV2CloudRun": { +"id": "GoogleCloudSecuritycenterV2CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudSecuritycenterV2Compliance": { "id": "GoogleCloudSecuritycenterV2Compliance", "properties": { @@ -10805,6 +10832,9 @@ false "cloudDlpInspection": { "$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection" }, +"cloudRun": { +"$ref": "GoogleCloudSecuritycenterV2CloudRun" +}, "complianceDetails": { "$ref": "GoogleCloudSecuritycenterV2ComplianceDetails" }, diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json b/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json index f6c135813b..9794b88193 100644 --- a/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json @@ -895,7 +895,7 @@ } } }, -"revision": "20261005", +"revision": "20261023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1692,6 +1692,18 @@ }, "type": "object" }, +"CloudRun": { +"id": "CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "Compliance": { "id": "Compliance", "properties": { @@ -2624,6 +2636,9 @@ false "cloudDlpInspection": { "$ref": "CloudDlpInspection" }, +"cloudRun": { +"$ref": "CloudRun" +}, "complianceDetails": { "$ref": "ComplianceDetails" }, @@ -4736,6 +4751,18 @@ false }, "type": "object" }, +"GoogleCloudSecuritycenterV2CloudRun": { +"id": "GoogleCloudSecuritycenterV2CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudSecuritycenterV2Compliance": { "id": "GoogleCloudSecuritycenterV2Compliance", "properties": { @@ -5674,6 +5701,9 @@ false "cloudDlpInspection": { "$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection" }, +"cloudRun": { +"$ref": "GoogleCloudSecuritycenterV2CloudRun" +}, "complianceDetails": { "$ref": "GoogleCloudSecuritycenterV2ComplianceDetails" }, diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json b/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json index 3cb890c73f..057a62160d 100644 --- a/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +++ b/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json @@ -1971,7 +1971,7 @@ } } }, -"revision": "20261005", +"revision": "20261023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2649,6 +2649,18 @@ }, "type": "object" }, +"CloudRun": { +"id": "CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "Compliance": { "id": "Compliance", "properties": { @@ -3717,6 +3729,9 @@ false "cloudDlpInspection": { "$ref": "CloudDlpInspection" }, +"cloudRun": { +"$ref": "CloudRun" +}, "complianceDetails": { "$ref": "ComplianceDetails" }, @@ -5743,6 +5758,18 @@ false }, "type": "object" }, +"GoogleCloudSecuritycenterV2CloudRun": { +"id": "GoogleCloudSecuritycenterV2CloudRun", +"properties": { +"revisions": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, "GoogleCloudSecuritycenterV2Compliance": { "id": "GoogleCloudSecuritycenterV2Compliance", "properties": { @@ -6681,6 +6708,9 @@ false "cloudDlpInspection": { "$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection" }, +"cloudRun": { +"$ref": "GoogleCloudSecuritycenterV2CloudRun" +}, "complianceDetails": { "$ref": "GoogleCloudSecuritycenterV2ComplianceDetails" }, diff --git a/googleapiclient/discovery_cache/documents/servicecontrol.v1.json b/googleapiclient/discovery_cache/documents/servicecontrol.v1.json index 78bedaa915..7a6ffb90b4 100644 --- a/googleapiclient/discovery_cache/documents/servicecontrol.v1.json +++ b/googleapiclient/discovery_cache/documents/servicecontrol.v1.json @@ -197,7 +197,7 @@ } } }, -"revision": "20261002", +"revision": "20261015", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -579,6 +579,10 @@ "Acts on behalf of another authority." ], "type": "string" +}, +"id": { +"description": "The agent identifier of the caller agent. This is a globally unique, immutable name in Uniform Resource Name (URN) format. Example: 'urn:agent:projects-123456789:projects:123456789:locations:us-central1:aiplatform:reasoningEngines:987654321'", +"type": "string" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/servicecontrol.v2.json b/googleapiclient/discovery_cache/documents/servicecontrol.v2.json index 14bf96a82b..4ee2b6a83b 100644 --- a/googleapiclient/discovery_cache/documents/servicecontrol.v2.json +++ b/googleapiclient/discovery_cache/documents/servicecontrol.v2.json @@ -169,7 +169,7 @@ } } }, -"revision": "20261002", +"revision": "20261015", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { @@ -520,6 +520,10 @@ "Acts on behalf of another authority." ], "type": "string" +}, +"id": { +"description": "The agent identifier of the caller agent. This is a globally unique, immutable name in Uniform Resource Name (URN) format. Example: 'urn:agent:projects-123456789:projects:123456789:locations:us-central1:aiplatform:reasoningEngines:987654321'", +"type": "string" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/servicenetworking.v1.json b/googleapiclient/discovery_cache/documents/servicenetworking.v1.json index 0161006bca..025a3598c8 100644 --- a/googleapiclient/discovery_cache/documents/servicenetworking.v1.json +++ b/googleapiclient/discovery_cache/documents/servicenetworking.v1.json @@ -1034,7 +1034,7 @@ } } }, -"revision": "20260727", +"revision": "20261028", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1754,7 +1754,8 @@ "id": "CommonLanguageSettings", "properties": { "destinations": { -"description": "The destination where API teams want this client library to be published.", +"deprecated": true, +"description": "Deprecated: Client libraries are published for all supported languages by default when a `library_settings` entry is present with a `version` and `launch_stage`. The destination where API teams want this client library to be published.", "items": { "enum": [ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", diff --git a/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json b/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json index 3910f320a0..d4f8c9ba4b 100644 --- a/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +++ b/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json @@ -307,7 +307,7 @@ } } }, -"revision": "20260727", +"revision": "20261028", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -910,7 +910,8 @@ "id": "CommonLanguageSettings", "properties": { "destinations": { -"description": "The destination where API teams want this client library to be published.", +"deprecated": true, +"description": "Deprecated: Client libraries are published for all supported languages by default when a `library_settings` entry is present with a `version` and `launch_stage`. The destination where API teams want this client library to be published.", "items": { "enum": [ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", diff --git a/googleapiclient/discovery_cache/documents/solar.v1.json b/googleapiclient/discovery_cache/documents/solar.v1.json index 9fb9349c9d..3c31dcd079 100644 --- a/googleapiclient/discovery_cache/documents/solar.v1.json +++ b/googleapiclient/discovery_cache/documents/solar.v1.json @@ -324,7 +324,7 @@ } } }, -"revision": "20261001", +"revision": "20261028", "rootUrl": "https://solar.googleapis.com/", "schemas": { "BuildingInsights": { @@ -400,6 +400,13 @@ "description": "Information about solar arrays detected on the building.", "id": "BuildingInsightsDetectedArrays", "properties": { +"arrays": { +"description": "A list of solar arrays detected on the building.", +"items": { +"$ref": "BuildingInsightsDetectedArraysSolarArray" +}, +"type": "array" +}, "detectionStatus": { "description": "Indicates the detection status of solar arrays for this building.", "enum": [ @@ -423,6 +430,21 @@ }, "type": "object" }, +"BuildingInsightsDetectedArraysSolarArray": { +"description": "Details of a single detected solar array.", +"id": "BuildingInsightsDetectedArraysSolarArray", +"properties": { +"polygonGeojson": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A GeoJSON representation of the building area where solar panels were detected. The GeoJSON data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The Polygon will be represented by several loops when it contains holes. Example: { \"type\": \"Polygon\", \"coordinates\": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] }", +"type": "object" +} +}, +"type": "object" +}, "CashPurchaseSavings": { "description": "Cost and benefit of an outright purchase of a particular configuration of solar panels with a particular electricity usage.", "id": "CashPurchaseSavings", diff --git a/googleapiclient/discovery_cache/documents/tasks.v1.json b/googleapiclient/discovery_cache/documents/tasks.v1.json index a150f04229..d8f750e7c2 100644 --- a/googleapiclient/discovery_cache/documents/tasks.v1.json +++ b/googleapiclient/discovery_cache/documents/tasks.v1.json @@ -111,7 +111,7 @@ "tasklists": { "methods": { "delete": { -"description": "Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.", +"description": "Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted. The user's default task list cannot be deleted.", "flatPath": "tasks/v1/users/@me/lists/{tasklist}", "httpMethod": "DELETE", "id": "tasks.tasklists.delete", @@ -120,7 +120,7 @@ ], "parameters": { "tasklist": { -"description": "Task list identifier.", +"description": "Task list identifier. The default task list cannot be deleted.", "location": "path", "required": true, "type": "string" @@ -141,7 +141,7 @@ ], "parameters": { "tasklist": { -"description": "Task list identifier.", +"description": "Task list identifier. Use \"@default\" to get the authenticated user's default task list.", "location": "path", "required": true, "type": "string" @@ -182,13 +182,13 @@ "parameterOrder": [], "parameters": { "maxResults": { -"description": "Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).", +"description": "Optional. Maximum number of task lists returned on one page. The default is 1000 (max allowed: 1000).", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { -"description": "Token specifying the result page to return. Optional.", +"description": "Optional. Token specifying the result page to return.", "location": "query", "type": "string" } @@ -350,13 +350,18 @@ "tasklist" ], "parameters": { +"hidden": { +"description": "Optional. Flag indicating whether the task is created as 'hidden', as if it had been completed and then cleared from the task list (see the \"clear\" method). Hidden tasks are not returned by default when retrieving all tasks for a task list (see showHidden). Only completed tasks can be created as hidden, and they can not be nested or positioned, so parent and previous must be empty.", +"location": "query", +"type": "boolean" +}, "parent": { -"description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional.", +"description": "Optional. Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request.", "location": "query", "type": "string" }, "previous": { -"description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.", +"description": "Optional. Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted.", "location": "query", "type": "string" }, @@ -388,53 +393,53 @@ ], "parameters": { "completedMax": { -"description": "Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", +"description": "Optional. Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date.", "location": "query", "type": "string" }, "completedMin": { -"description": "Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", +"description": "Optional. Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date.", "location": "query", "type": "string" }, "dueMax": { -"description": "Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", +"description": "Optional. Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date.", "location": "query", "type": "string" }, "dueMin": { -"description": "Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", +"description": "Optional. Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date.", "location": "query", "type": "string" }, "maxResults": { -"description": "Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100).", +"description": "Optional. Maximum number of tasks returned on one page. The default is 20 (max allowed: 100).", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { -"description": "Token specifying the result page to return. Optional.", +"description": "Optional. Token specifying the result page to return.", "location": "query", "type": "string" }, "showAssigned": { -"description": "Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.", +"description": "Optional. Flag indicating whether tasks assigned to the current user are returned in the result. The default is False.", "location": "query", "type": "boolean" }, "showCompleted": { -"description": "Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.", +"description": "Optional. Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. The default is True.", "location": "query", "type": "boolean" }, "showDeleted": { -"description": "Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.", +"description": "Optional. Flag indicating whether deleted tasks are returned in the result. The default is False.", "location": "query", "type": "boolean" }, "showHidden": { -"description": "Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.", +"description": "Optional. Flag indicating whether hidden tasks are returned in the result. The default is False.", "location": "query", "type": "boolean" }, @@ -445,7 +450,7 @@ "type": "string" }, "updatedMin": { -"description": "Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.", +"description": "Optional. Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. The default is not to filter by last modification time.", "location": "query", "type": "string" } @@ -576,7 +581,7 @@ } } }, -"revision": "20251102", +"revision": "20261025", "rootUrl": "https://tasks.googleapis.com/", "schemas": { "AssignmentInfo": { @@ -754,7 +759,7 @@ "type": "string" }, "id": { -"description": "Task list identifier.", +"description": "Task list identifier. In requests, the authenticated user's default task list can also be referred to as \"@default\".", "type": "string" }, "kind": { diff --git a/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json b/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json index 268ca12d48..6830129c0f 100644 --- a/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json +++ b/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json @@ -842,7 +842,7 @@ } } }, -"revision": "20261018", +"revision": "20261025", "rootUrl": "https://threatintelligence.googleapis.com/", "schemas": { "AVDetections": { @@ -3309,7 +3309,7 @@ "description": "Optional. Alert thresholds to effectively reduce noise." }, "technologies": { -"description": "Optional. List of vendor, technology or cpe fingerprint. example: Microsoft office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*", +"description": "Optional. List of technologies to watch, one per entry, in the form ` [version]`, using the vendor and product names from the Google Threat Intelligence products and fixes section. example: `microsoft outlook` `apache http_server 2.4.54` CPE strings such as `cpe:2.3:a:microsoft:outlook:*:*:*:*:*:*:*:*` are only parsed through the Google Threat Intelligence interface and are not available through the API. Send the vendor and product pair instead.", "items": { "type": "string" }, @@ -3501,7 +3501,7 @@ "type": "array" }, "matchedTechnologies": { -"description": "Optional. The specific technologies from the configured watchlist that triggered the match. Ex: \"Apache Struts\".", +"description": "Optional. The entries from the configured watchlist that triggered the match, exactly as written in `TechnologyWatchListConfig.technologies`. Ex: `apache http_server 2.4.54`.", "items": { "type": "string" }, @@ -3567,7 +3567,7 @@ "type": "string" }, "technologies": { -"description": "Required. All technologies affected by the vulnerability. Ex: \"Apache Struts\".", +"description": "Required. All technologies affected by the vulnerability, using the vendor and product names of its affected products, optionally followed by a version. Ex: `Apache Struts 2.2.3`.", "items": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/vault.v1.json b/googleapiclient/discovery_cache/documents/vault.v1.json index dc510cfba6..4db36f9c98 100644 --- a/googleapiclient/discovery_cache/documents/vault.v1.json +++ b/googleapiclient/discovery_cache/documents/vault.v1.json @@ -1208,7 +1208,7 @@ } } }, -"revision": "20260615", +"revision": "20261022", "rootUrl": "https://vault.googleapis.com/", "schemas": { "AccountCount": { @@ -1360,8 +1360,8 @@ "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" } @@ -1497,7 +1497,7 @@ }, "geminiQuery": { "$ref": "HeldGeminiQuery", -"description": "Service-specific options for Gemini holds. If set, **CorpusType** must be **GEMINI**." +"description": "Service-specific options for Gemini app holds. If set, **CorpusType** must be **GEMINI**." }, "groupsQuery": { "$ref": "HeldGroupsQuery", @@ -1761,9 +1761,13 @@ "$ref": "DriveExportOptions", "description": "Options for Drive exports." }, +"geminiInWorkspaceOptions": { +"$ref": "GeminiInWorkspaceExportOptions", +"description": "Option available for Gemini in Workspace export." +}, "geminiOptions": { "$ref": "GeminiExportOptions", -"description": "Option available for Gemini export." +"description": "Option available for Gemini app export." }, "groupsOptions": { "$ref": "GroupsExportOptions", @@ -1823,7 +1827,7 @@ "type": "object" }, "GeminiExportOptions": { -"description": "The options for Gemini exports.", +"description": "The options for Gemini app exports.", "id": "GeminiExportOptions", "properties": { "exportFormat": { @@ -1841,16 +1845,49 @@ "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" } }, "type": "object" }, +"GeminiInWorkspaceExportOptions": { +"description": "The options for Gemini in Workspace exports.", +"id": "GeminiInWorkspaceExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML", +"JSON" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." +], +"type": "string" +} +}, +"type": "object" +}, +"GeminiInWorkspaceOptions": { +"description": "Additional options for Gemini in Workspace search", +"id": "GeminiInWorkspaceOptions", +"properties": {}, +"type": "object" +}, "GeminiOptions": { -"description": "Additional options for Gemini search", +"description": "Additional options for Gemini app search", "id": "GeminiOptions", "properties": {}, "type": "object" @@ -1912,8 +1949,8 @@ "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" } @@ -1939,8 +1976,8 @@ "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" } @@ -2023,7 +2060,7 @@ "type": "object" }, "HeldGeminiQuery": { -"description": "Options for Gemini holds.", +"description": "Options for Gemini app holds.", "id": "HeldGeminiQuery", "properties": {}, "type": "object" @@ -2144,7 +2181,8 @@ "HANGOUTS_CHAT", "VOICE", "CALENDAR", -"GEMINI" +"GEMINI", +"GEMINI_IN_WORKSPACE" ], "enumDescriptions": [ "No service specified.", @@ -2154,7 +2192,8 @@ "For export, Google Chat only. For holds, Google Chat and classic Hangouts.", "Google Voice.", "Calendar.", -"Gemini." +"Gemini app.", +"Gemini in Workspace." ], "type": "string" }, @@ -2350,8 +2389,8 @@ "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" }, @@ -2548,7 +2587,8 @@ "HANGOUTS_CHAT", "VOICE", "CALENDAR", -"GEMINI" +"GEMINI", +"GEMINI_IN_WORKSPACE" ], "enumDescriptions": [ "No service specified.", @@ -2558,7 +2598,8 @@ "For export, Google Chat only. For holds, Google Chat and classic Hangouts.", "Google Voice.", "Calendar.", -"Gemini." +"Gemini app.", +"Gemini in Workspace." ], "type": "string" }, @@ -2591,9 +2632,13 @@ "format": "google-datetime", "type": "string" }, +"geminiInWorkspaceOptions": { +"$ref": "GeminiInWorkspaceOptions", +"description": "Set Gemini in Workspace search-specific options." +}, "geminiOptions": { "$ref": "GeminiOptions", -"description": "Set Gemini search-specific options." +"description": "Set Gemini app search-specific options." }, "hangoutsChatInfo": { "$ref": "HangoutsChatInfo", @@ -2914,8 +2959,8 @@ false "Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", "Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", "Export as ICS. Only available for Calendar.", -"Export as XML. Only available for Gemini.", -"Export as JSON. Only available for Gemini in Workpace." +"Export as XML. Only available for Gemini app.", +"Export as JSON. Only available for Gemini in Workspace." ], "type": "string" } diff --git a/googleapiclient/discovery_cache/documents/webcontentpublisher.v1.json b/googleapiclient/discovery_cache/documents/webcontentpublisher.v1.json index a4deeab512..659e95ec93 100644 --- a/googleapiclient/discovery_cache/documents/webcontentpublisher.v1.json +++ b/googleapiclient/discovery_cache/documents/webcontentpublisher.v1.json @@ -476,7 +476,7 @@ } } }, -"revision": "20261012", +"revision": "20261028", "rootUrl": "https://webcontentpublisher.googleapis.com/", "schemas": { "AnswerChoiceTemplate": { @@ -1585,7 +1585,7 @@ false "description": "Optional. Configuration specific to newsletter signup CTAs. Only populated if type is `NEWSLETTER_SIGNUP`." }, "state": { -"description": "Output only. The current state of this CTA.", +"description": "Optional. The current state of this CTA.", "enum": [ "STATE_UNSPECIFIED", "DRAFT", @@ -1596,7 +1596,6 @@ false "The CTA is a draft and not yet visible to users.", "The CTA is active and visible to users." ], -"readOnly": true, "type": "string" }, "surveyConfig": { @@ -1647,7 +1646,7 @@ false "type": "string" }, "displayText": { -"description": "Required. The question prompt displayed to readers.", +"description": "Optional. The question prompt displayed to readers (up to 140 characters).", "type": "string" }, "id": { @@ -2042,6 +2041,11 @@ false "$ref": "SurveyQuestion" }, "type": "array" +}, +"reportUrl": { +"description": "Output only. Link to the Looker Studio dashboard.", +"readOnly": true, +"type": "string" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json b/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json index cd2b910e66..b9d5864be1 100644 --- a/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +++ b/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json @@ -719,7 +719,7 @@ } } }, -"revision": "20260825", +"revision": "20261020", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "Callback": { @@ -1053,7 +1053,7 @@ "type": "object" }, "PubsubMessage": { -"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.", +"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits]( https://cloud.google.com/pubsub/quotas) for more information about message limits.", "id": "PubsubMessage", "properties": { "attributes": {